Segment class abstract

Path segments of PathElements.

Implementers

Constructors

Segment({String? tag})
Creates a segment.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
The tag to indicate correspondence of this segment in animation.
final

Methods

drawPath(Path path) → void
Draws this segment on a path.
getEnd() Offset
Gets the end point of this segment.
lerpFrom(covariant Segment from, double t) Segment
Linearly interpolate between this segment and from.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sow(Offset position) Segment
Shrinks this segment to a point in position.
toCubic(Offset start) CubicSegment
Converts this segment to a CubicSegment.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override