SKPaintSurfaceEventArgs 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 SKPaintSurfaceEventArgs : EventArgs
- Inheritance
-
SKPaintSurfaceEventArgs
Remarks
This class contains the drawing surface and information about its size and format for software-rendered Blazor canvas views.
Constructors
| Name | Description |
|---|---|
| SKPaintSurfaceEventArgs(SKSurface, SKImageInfo, SKImageInfo) |
Initializes a new instance of the SKPaintSurfaceEventArgs class with separate user and raw dimensions. |
| SKPaintSurfaceEventArgs(SKSurface, SKImageInfo) |
Initializes a new instance of the SKPaintSurfaceEventArgs class. |
Properties
| Name | Description |
|---|---|
| Info |
Gets the image information describing the user-visible surface dimensions. |
| RawInfo |
Gets the image information describing the actual physical surface dimensions. |
| Surface |
Gets the surface to draw on. |