Win2dLink(Rect, IReadOnlyList<PaintPoint>, string, string) Constructor

A link a document drew: an area of the canvas that leads to an address or to a named place in the same document.

public Win2dLink(PeachDrawing.Core.Rect Bounds, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PaintPoint>? Quad, string? Uri, string? Destination);

Parameters

Bounds Rect

the clickable area, in the canvas’s layout units

Quad System.Collections.Generic.IReadOnlyList<PaintPoint>

the four corners (top-left, top-right, bottom-left, bottom-right) when the area is not Bounds itself, as for a rotated element; otherwise null

Uri System.String

the address the link leads to, or null for a link to a place in the document

Destination System.String

the name of the place in the document the link leads to, or null for a link to an address