PeachDrawing.Skia

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 sealed record SkiaLink : System.IEquatable<PeachDrawing.Skia.SkiaLink>

Inheritance System.Object → SkiaLink

Implements System.IEquatable<SkiaLink>

Constructors  
SkiaLink(Rect, IReadOnlyList<PaintPoint>, string, string) A link a document drew: an area of the canvas that leads to an address or to a named place in the same document.
Properties  
Bounds the clickable area, in the canvas’s layout units
Destination the name of the place in the document the link leads to, or null for a link to an address
Quad 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 the address the link leads to, or null for a link to a place in the document
Methods  
Contains(double, double) Whether x, y (layout units) is inside the clickable area.