SKPaintGLSurfaceEventArgs 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.
Provides data for the OnPaintSurface callback.
public class SKPaintGLSurfaceEventArgs : EventArgs
- Inheritance
-
SKPaintGLSurfaceEventArgs
Remarks
This class contains the GPU-backed drawing surface and information about its size, format, and backend render target for WebGL-accelerated Blazor canvas views.
Constructors
| Name | Description |
|---|---|
| SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType) |
Initializes a new instance of the SKPaintGLSurfaceEventArgs class with the specified origin and color type. |
| SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKImageInfo, SKImageInfo) |
Initializes a new instance of the SKPaintGLSurfaceEventArgs class with separate user and raw dimensions. |
| SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKImageInfo) |
Initializes a new instance of the SKPaintGLSurfaceEventArgs class with the specified origin and image info. |
| SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget) |
Initializes a new instance of the SKPaintGLSurfaceEventArgs class. |
Properties
| Name | Description |
|---|---|
| BackendRenderTarget |
Gets the backend render target for the GPU surface. |
| ColorType |
Gets the color type of the surface. |
| Info |
Gets the image information describing the user-visible surface dimensions. |
| Origin |
Gets the origin of the surface. |
| RawInfo |
Gets the image information describing the actual physical surface dimensions. |
| Surface |
Gets the GPU-backed surface to draw on. |