StreamGeometryContextPreciseArcTo 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.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
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 Point
- The destination point.
- size Size
- The radii of an oval whose perimeter is used to draw the angle.
- rotationAngle Double
- The rotation angle (in radians) of the oval that specifies the curve.
- isLargeArc Boolean
- true to draw the arc greater than 180 degrees; otherwise, false.
- sweepDirection SweepDirection
-
A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction.