PeachDrawing.Skia.SkiaCanvas
SkiaCanvas.AddCursor(Rect, CursorShape, IReadOnlyList<CursorImage>) Method
Says which pointer a surface should show over bounds. A format with no pointer (a PDF page, a bitmap) ignores it, which is what the default does; a canvas for a surface that is looked at and pointed at records it for the host to hit-test, or writes it as the format’s own cursor styling. Areas are added in paint order: a later one is on top.
public override void AddCursor(PeachDrawing.Core.Rect bounds, PeachDrawing.Core.CursorShape shape, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.CursorImage>? images=null);
Parameters
bounds Rect
the area, in this canvas’s layout units like every other rectangle
shape CursorShape
the pointer to show, the one that stands in when none of images can be used
images System.Collections.Generic.IReadOnlyList<CursorImage>
images to use as the pointer in order of preference, or null for none