CloseSegment class
A close segment like Path.close.
Constructors
- CloseSegment({String? tag})
- Creates a close segment.
Properties
Methods
-
drawPath(
Path path) → void -
Draws this segment on a path.
override
-
getEnd(
) → Offset -
Gets the end point of this segment.
override
-
lerpFrom(
covariant CloseSegment from, double t) → CloseSegment -
Linearly interpolate between this segment and
from
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sow(
Offset position) → CloseSegment -
Shrinks this segment to a point in
position
.override -
toCubic(
Offset start) → CubicSegment -
Converts this segment to a CubicSegment.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override