PeachDrawing.Core

PeachDrawing.Core

CursorImage Class

An image a document asks to be used as the pointer, ahead of the CursorShape that stands in for it.

public sealed record CursorImage : System.IEquatable<PeachDrawing.Core.CursorImage>

Inheritance System.Object → CursorImage

Implements System.IEquatable<CursorImage>

Constructors  
CursorImage(string, Nullable<double>, Nullable<double>) An image a document asks to be used as the pointer, ahead of the CursorShape that stands in for it.
Properties  
HotspotX the distance of the pointer’s active point from the left of the image in image pixels, or null to use the one the image file carries (the centre when it has none)
HotspotY the distance of the active point from the top of the image in image pixels, or null
Uri the address of the image, resolved against the document’s base