PeachDrawing.Core

PeachDrawing.Core.CursorImage

CursorImage(string, Nullable<double>, Nullable<double>) Constructor

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

public CursorImage(string Uri, System.Nullable<double> HotspotX, System.Nullable<double> HotspotY);

Parameters

Uri System.String

the address of the image, resolved against the document’s base

HotspotX System.Nullable<System.Double>

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 System.Nullable<System.Double>

the distance of the active point from the top of the image in image pixels, or null