arcToPoint abstract method

void arcToPoint(
  1. Offset arcEnd, {
  2. Radius radius = Radius.zero,
  3. double rotation = 0.0,
  4. bool largeArc = false,
  5. bool clockwise = true,
})

Appends up to four conic curves weighted to describe an oval of radius and rotated by rotation (measured in degrees and clockwise).

The first curve begins from the last point in the path and the last ends at arcEnd. The curves follow a path in a direction determined by clockwise and largeArc in such a way that the sweep angle is always less than 360 degrees.

A simple line is appended if either radii are zero or the last point in the path is arcEnd. The radii are scaled to fit the last path point if both are greater than zero but too small to describe an arc.

Implementation

void arcToPoint(Offset arcEnd, {
  Radius radius = Radius.zero,
  double rotation = 0.0,
  bool largeArc = false,
  bool clockwise = true,
});