Edit

SKGLSurfaceView Class

Definition

An implementation of GLSurfaceView that uses the dedicated surface for displaying a hardware-accelerated SKSurface.

public class SKGLSurfaceView : Android.Opengl.GLSurfaceView
Inheritance
SKGLSurfaceView

Constructors

Name Description
SKGLSurfaceView(Context, IAttributeSet)

Initializes a new instance of the SKGLSurfaceView class with the specified XML attributes.

SKGLSurfaceView(Context)

Initializes a new instance of the SKGLSurfaceView class.

Properties

Name Description
CanvasSize

Gets the current canvas size.

GRContext

Gets the current GPU context.

Methods

Name Description
OnPaintSurface(SKPaintGLSurfaceEventArgs)

Implement this to draw on the canvas.

Events

Name Description
PaintSurface

Occurs when the surface needs to be redrawn.

Applies to