PathView Struct

Definition

A path as verbs and points, without a copy: a view over storage the producer owns, valid only while the call that handed it out runs. Copy what you keep.

public ref readonly struct PathView

Remarks

ISO 32000-2 §8.5.2. Each PathVerb takes its points from Points in order: one for MoveTo and LineTo, two for QuadTo, three for CubicTo, none for Close.

A content stream path is reported exactly as constructed, in the user space current when it was painted: degenerate subpaths, a closed single point and a trailing lone m are kept. Applying the painting rules for them (§8.5.3.2: a degenerate subpath is stroked as a dot only with round caps, a trailing moveto paints nothing; §8.5.3.3.1: open subpaths are closed for filling) is the renderer's job. After an h, a later segment starts with an explicit MoveTo to the closed subpath's first point (Table 58), so every subpath begins with a moveto.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (5)