SKGLView Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A hardware-accelerated view that can be drawn on using SkiaSharp drawing commands.
[Foundation.Register("SKGLView")]
public class SKGLView : AppKit.NSOpenGLView
- Inheritance
-
SKGLView
- Attributes
SKGLView() |
Default constructor that initializes a new instance of SKGLView. |
SKGLView(CGRect) |
Initializes the SKGLView with the specified frame. |
SKGLView(Int |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
Canvas |
Gets the current canvas size. |
GRContext |
Gets the current GPU context. |
Awake |
Called after the object has been loaded from the nib file. Overriders must call the base method. |
Draw |
Obsolete.
Implement this to draw on the canvas. |
Draw |
Draws the view within the passed-in rectangle. |
On |
Implement this to draw on the canvas. |
Prepare |
Used by subclasses to initialize OpenGL state. |
Reshape() |
Called by Cocoa when the view's visible rectangle or bounds change. |
Paint |
Occurs when the surface needs to be redrawn. |
Tuote | Versiot |
---|---|
SkiaSharp Views | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Tuotteen SkiaSharp palaute
SkiaSharp on avoin lähdekoodi projekti. Anna palautetta valitsemalla linkki: