SKGLControl Class
Definition
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 control that can be drawn on using SkiaSharp drawing commands.
public class SKGLControl : OpenTK.GLControl
- Inheritance
-
OpenTK.GLControlSKGLControl
Constructors
SKGLControl() |
Creates a new instance of the SKGLControl view. |
SKGLControl(GraphicsMode) |
Creates a new instance of the SKGLControl view. |
SKGLControl(GraphicsMode, Int32, Int32, GraphicsContextFlags) |
Creates a new instance of the SKGLControl view. |
Properties
CanvasSize |
Gets the current canvas size. |
GRContext |
Gets the current GPU context. |
Methods
Dispose(Boolean) |
Releases the unmanaged resources used by the SKGLControl and optionally releases the managed resources. |
OnPaint(PaintEventArgs) |
Raises the Paint event. |
OnPaintSurface(SKPaintGLSurfaceEventArgs) |
Implement this to draw on the canvas. |
Events
PaintSurface |
Occurs when the surface needs to be redrawn. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for