Edit

SKGLView Class

Definition

A hardware-accelerated view that can be drawn on using SkiaSharp drawing commands.

[Foundation.Register("SKGLView")]
public class SKGLView : GLKit.GLKView, GLKit.IGLKViewDelegate, IDisposable, System.ComponentModel.IComponent
Inheritance
SKGLView
Attributes
Implements

Constructors

Name Description
SKGLView()

Initializes a new instance of the SKGLView class.

SKGLView(CGRect)

Initializes the SKGLView with the specified frame.

SKGLView(IntPtr)

Initializes a new instance of the SKGLView class from a native handle.

Properties

Name Description
CanvasSize

Gets the current canvas size.

Frame

Gets or sets the view's frame rectangle.

GRContext

Gets the current GPU context.

Methods

Name Description
AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call the base method.

DrawInRect(GLKView, CGRect)

Draws the view within the passed-in rectangle.

OnPaintSurface(SKPaintGLSurfaceEventArgs)

Implement this to draw on the canvas.

Events

Name Description
PaintSurface

Occurs when the surface needs to be redrawn.

Applies to