Skip to main content

PreciseArcTo Method

Draws an arc to the specified point using polylines, quadratic or cubic Bezier curves Significantly more precise when drawing elliptic arcs with extreme width:height ratios.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void PreciseArcTo(
Point point,
Size size,
double rotationAngle,
bool isLargeArc,
SweepDirection sweepDirection
)

Parameters

  Point
The destination point.
  Size
The radii of an oval whose perimeter is used to draw the angle.
  Double
The rotation angle (in radians) of the oval that specifies the curve.
  Boolean
true to draw the arc greater than 180 degrees; otherwise, false.
  SweepDirection
A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction.

See Also

Reference

StreamGeometryContext Class
Avalonia.Media Namespace