ArcToPointSegment class

An arc-to-point segment like Path.arcToPoint.

Inheritance

Constructors

ArcToPointSegment({required Offset end, required Radius radius, required double rotation, required bool largeArc, required bool clockwise, String? tag})
Creates an arc-to-point segment

Properties

clockwise bool
Whether this arc is clockwise.
final
end Offset
The end point of this arc.
final
hashCode int
The hash code for this object.
no setterinherited
largeArc bool
Whether this arc is a large arc.
final
radius Radius
The radius of this arc.
final
rotation double
The rotation of this arc.
final
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.
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 ArcToPointSegment from, double t) ArcToPointSegment
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) ArcToPointSegment
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