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)
- C#
- VB
- F#
public void PreciseArcTo(
Point point,
Size size,
double rotationAngle,
bool isLargeArc,
SweepDirection sweepDirection
)
Public Sub PreciseArcTo (
point As Point,
size As Size,
rotationAngle As Double,
isLargeArc As Boolean,
sweepDirection As SweepDirection
)
member PreciseArcTo :
point : Point *
size : Size *
rotationAngle : float *
isLargeArc : bool *
sweepDirection : SweepDirection -> unit
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.