ArcTo class
Draws an elliptical arc from the current point to point.
Uses the same endpoint parameterization as SVG's A/a path command:
radiusX/radiusY describe the ellipse, xAxisRotation (radians)
tilts it relative to the local x-axis, and largeArc/sweep resolve
the otherwise-ambiguous choice among the (up to four) ellipses that fit
the two endpoints and radii — largeArc picks the larger of the two
possible arcs, sweep picks the clockwise one.
- Inheritance
-
- Object
- PathCommand
- ArcTo
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- largeArc → bool
-
Picks the larger of the two possible arcs when
true.final - point → Point2D
-
The arc's endpoint.
final
- radiusX → double
-
The ellipse's horizontal radius.
final
- radiusY → double
-
The ellipse's vertical radius.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sweep → bool
-
Picks the clockwise arc when
true.final - xAxisRotation → double
-
Tilt of the ellipse relative to the local x-axis, in radians.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Converts to a JSON-safe map, see
Scene.toJson. Each concrete subclass includes a'type'discriminator (PathCommand.fromJson below dispatches on it).override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override