Struct UnitBezier
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A timing curve from (0, 0) to (1, 1), with the control points (x1,
y1) and (x2, y2).
public readonly record struct UnitBezier : IEquatable<UnitBezier>
- Implements
- Inherited Members
Remarks
x1 and x2 are between 0 and 1.
See mln_unit_bezier in the C API reference.
Constructors
UnitBezier(double, double, double, double)
A timing curve from (0, 0) to (1, 1), with the control points (x1,
y1) and (x2, y2).
public UnitBezier(double X1, double Y1, double X2, double Y2)
Parameters
Remarks
x1 and x2 are between 0 and 1.
See mln_unit_bezier in the C API reference.
Properties
X1
public double X1 { get; init; }
Property Value
X2
public double X2 { get; init; }
Property Value
Y1
public double Y1 { get; init; }
Property Value
Y2
public double Y2 { get; init; }