Skia markup reference
Fluent extensions declared by the Aprillz.MewUI.Skia package.
SkiaCanvasView
Section titled “SkiaCanvasView”Receiver: SkiaCanvasView and derived types (where T : SkiaCanvasView).
| Method | Sets | Summary |
|---|---|---|
Background(Color? value) |
Background |
Sets the color the canvas is cleared with before painting; null clears to transparent, and a fully opaque color allows the faster non-blended present. |
ContinuousAnimation(bool value = true) |
ContinuousAnimation |
Sets whether the control invalidates itself at the end of each render so animated Skia content keeps repainting without a render request; the default is true. |
OnPaintSurface(Action<SKCanvas, SKImageInfo> handler) |
event PaintSurface |
Subscribes handler to PaintSurface. Occurs on each render pass with the Skia canvas sized to the current bounds. |