SkiaSurfacePaintEventArgs class
Avalonia controls — class
Event data for an Avalonia Skia surface paint.
Members
| Member | Kind | Description |
|---|---|---|
SkiaSurfacePaintEventArgs(SKCanvas canvas, int width, int height) | Method | Initializes a new instance of the SkiaSurfacePaintEventArgs class. |
SKCanvas Canvas | Property | Canvas to draw on (already cleared to white). |
int Width | Property | Pixel width of the surface. |
int Height | Property | Pixel height of the surface. |