Table of Contents

Struct VectorPathSegment

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

One segment of a vector path, in absolute top-down page twips (the RuleSegment convention, not the rect-origin convention of FilledRect). Control points are meaningful only for CubicTo.

public readonly struct VectorPathSegment : IEquatable<VectorPathSegment>
Implements
Inherited Members

Properties

ControlX1

Gets the first control point X in twips (cubic segments only).

ControlX2

Gets the second control point X in twips (cubic segments only).

ControlY1

Gets the first control point Y in twips (cubic segments only).

ControlY2

Gets the second control point Y in twips (cubic segments only).

Verb

Gets the drawing verb.

X

Gets the endpoint X in twips.

Y

Gets the endpoint Y in twips.

Methods

Close()

Creates a subpath close.

CubicTo(Twips, Twips, Twips, Twips, Twips, Twips)

Creates a cubic bezier segment.

Equals(VectorPathSegment)
Equals(object?)
GetHashCode()
LineTo(Twips, Twips)

Creates a straight segment.

MoveTo(Twips, Twips)

Creates a subpath-opening move.

Operators

operator ==(VectorPathSegment, VectorPathSegment)

Determines equality.

operator !=(VectorPathSegment, VectorPathSegment)

Determines inequality.