Arc
Inherits: Shape
Draws an arc scaled to fit inside the given rectangle.
It starts from start_angle
radians around the oval up to start_angle
+
sweep_angle
radians around the oval, with zero radians being the point on
the right hand side of the oval that crosses the horizontal line that
intersects the center of the rectangle and with positive angles going
clockwise around the oval. If use_center
is True
, the arc is closed back
to the center, forming a circle sector. Otherwise, the arc is not closed,
forming a circle segment.
https://api.flutter.dev/flutter/dart-ui/Canvas/drawArc.html
Properties
-
height
(Number
) –The height of the rectangle containing the arc's oval.
-
paint
(Paint
) –A style to draw an arc with.
-
start_angle
(Number
) –The starting angle in radians to draw arc from.
-
sweep_angle
(Number
) –The length of the arc in radians.
-
use_center
(bool
) –Whether this arc is closed back to the center, forming a
-
width
(Number
) –The width of the rectangle containing the arc's oval.
-
x
(Number
) –The x-axis coordinate of the arc's top left point.
-
y
(Number
) –The y-axis coordinate of the arc's top left point.