ArcSegment class

An arc segment like Path.arcTo.

Inheritance

Constructors

ArcSegment({required Rect oval, required double startAngle, required double endAngle, String? tag})
Creates an arc segment.

Properties

endAngle double
The end angle of this arc.
final
hashCode int
The hash code for this object.
no setterinherited
oval Rect
The bounds of the oval this arc belongs to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngle double
The start angle of this arc.
final
tag String?
The tag to indicate correspondence of this segment in animation.
finalinherited

Methods

drawPath(Path path) → void
Draws this segment on a path.
override
getEnd() Offset
Gets the end point of this segment.
override
lerpFrom(covariant ArcSegment from, double t) ArcSegment
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) ArcSegment
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