CubicCurveElement class
Path element of type CubicCurve
- Inheritance
-
- Object
- PathElement
- CubicCurveElement
Constructors
- CubicCurveElement({required Offset startPoint, required bool relative, required Offset firstControlPoint, required Offset secondControlPoint, required Offset endPoint})
- startPoint (Offset) REQUIRED 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
- end → Offset
-
gets the end point of the path element
no setteroverride
- endPoint ↔ Offset
-
End point
getter/setter pair
- firstControlPoint ↔ Offset
-
First control point
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- relative ↔ bool
-
Is it a relative move ?
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondControlPoint ↔ Offset
-
Second control point
getter/setter pair
- startPoint ↔ Offset
-
Current path starting point
getter/setter pair
Methods
-
addToPath(
Path path) → void -
add the given path to the PathElement
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited