arcToPoint method
void
arcToPoint(
- PointT arcEnd, {
- required RadiusT radius,
- required double rotation,
- required bool largeArc,
- required bool clockwise,
override
Add an arc. rotation
in radians, as is (sorta offhandedly) documented
for Flutter's Path.
Implementation
@override
void arcToPoint(PointT arcEnd,
{required RadiusT radius,
required double rotation,
required bool largeArc,
required bool clockwise}) {
_result.write('A ');
_result.write(radius.x);
_result.write(' ');
_result.write(radius.y);
_result.write(' ');
_result.write(rotation * 180.0 / pi);
_result.write(' ');
_result.write(largeArc ? '1 ' : '0 ');
_result.write(clockwise ? '1 ' : '0 ');
_result.write(arcEnd.x);
_result.write(' ');
_result.write(arcEnd.y);
_result.write(' ');
}