Cubic class

Constructors

Cubic(double anchor0X, double anchor0Y, double control0X, double control0Y, double control1X, double control1Y, double anchor1X, double anchor1Y)
Cubic.circularArc(double centerX, double centerY, double x0, double y0, double x1, double y1)
factory
Cubic.empty(double x0, double y0)
Cubic.fromPoints(Point anchor0, Point control0, Point control1, Point anchor1)
Cubic.straightLine(double x0, double y0, double x1, double y1)
factory

Properties

anchor0X → double
no setter
anchor0Y → double
no setter
anchor1X → double
no setter
anchor1Y → double
no setter
control0X → double
no setter
control0Y → double
no setter
control1X → double
no setter
control1Y → double
no setter
hashCode → int
The hash code for this object.
no setterinherited
points → List<double>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateBounds(List<double> bounds, {bool approximate = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointOnCurve(double t) → Point
reverse() → Cubic
split(double t) → (Cubic, Cubic)
toString() → String
A string representation of this object.
inherited
transformed(PointTransformer f) → Cubic
zeroLength() → bool

Operators

operator *(double x) → Cubic
operator +(Cubic o) → Cubic
operator /(double x) → Cubic
operator ==(Object other) → bool
The equality operator.
inherited