Struct LinearSegment
- Namespace
- SixLabors.ImageSharp.Drawing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Represents one derived linear segment within a LinearGeometry.
public readonly struct LinearSegment
- Inherited Members
Remarks
Instances are produced by SegmentEnumerator and contain the per-segment values required by current backend scene-building code without forcing each backend to recompute them from the endpoints on every iteration.
Properties
End
Gets the segment end point.
public required PointF End { get; init; }
Property Value
IsHorizontal
Gets a value indicating whether the segment is horizontal.
public required bool IsHorizontal { get; init; }
Property Value
Remarks
MaxY
public required float MaxY { get; init; }
Property Value
MinY
public required float MinY { get; init; }
Property Value
Start
Gets the segment start point.
public required PointF Start { get; init; }