Struct MonotonicCubicBezier
Holds one, two, or three Y-monotonic cubic Bézier segments that together represent the result of splitting a single cubic at its Y-derivative roots.
public readonly struct MonotonicCubicBezier
- Inherited Members
Constructors
MonotonicCubicBezier(CubicBezier, CubicBezier?, CubicBezier?)
Initializes the struct with one, two, or three Y-monotonic segments.
public MonotonicCubicBezier(CubicBezier first, CubicBezier? second = null, CubicBezier? third = null)
Parameters
firstCubicBezierThe first monotonic segment.
secondCubicBezier?The second monotonic segment, if any.
thirdCubicBezier?The third monotonic segment, if any.
Fields
First
The first (and always present) Y-monotonic segment.
public readonly CubicBezier First
Field Value
Second
The second Y-monotonic segment, or null if the original had at most one Y-extremum.
public readonly CubicBezier? Second
Field Value
Third
The third Y-monotonic segment, or null if the original had fewer than two Y-extrema.
public readonly CubicBezier? Third