relativeArcToPoint abstract method

void relativeArcToPoint(
  1. Offset arcEndDelta,
  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 last path point is described by (px, py).

The first curve begins from the last point in the path and the last ends at arcEndDelta.dx + px and arcEndDelta.dy + py. 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, both arcEndDelta.dx and arcEndDelta.dy are zero. 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 relativeArcToPoint(
  Offset arcEndDelta, {
  Radius radius = Radius.zero,
  double rotation = 0.0,
  bool largeArc = false,
  bool clockwise = true,
});