CubicCurveElement class

Path element of type CubicCurve

Inheritance

Constructors

CubicCurveElement({@required bool relative, @required Offset firstControlPoint, @required Offset secondControlPoint, @required Offset endPoint })
relative (bool) REQUIRED : Is it a relative move ? firstControlPoint (Offset) REQUIRED : First control point secondControlPoint (Offset) REQUIRED : Second control point endPoint (Offset) REQUIRED : end point

Properties

endPoint Offset
End point
read / write
firstControlPoint Offset
First control point
read / write
relative ↔ bool
Is it a relative move ?
read / write
secondControlPoint Offset
Second control point
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addToPath(Path path) → void
add the given path to the PathElement
override
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited