Struct AppearanceSegment
- Namespace
- LMKit.Document.Annotations.Appearance
- Assembly
- LM-Kit.NET.dll
One segment of a subpath: a straight line, or a cubic Bézier when the control points are set (quadratic sources are exact-converted to cubic at build time, so every consumer handles one curve form).
public readonly struct AppearanceSegment
- Inherited Members
Constructors
- AppearanceSegment(AnnotationPoint)
Creates a straight-line segment.
- AppearanceSegment(AnnotationPoint, AnnotationPoint, AnnotationPoint)
Creates a cubic-curve segment.
Properties
- Control1
First cubic control point, or null for a straight line.
- Control2
Second cubic control point, or null for a straight line.
- End
The segment's end point.
- IsCurve
Whether the segment is a curve (both controls set).