Edit

SKPathBuilder.ArcTo Method

Definition

Overloads

Name Description
ArcTo(SKPoint, SKPoint, Single)

Appends a circular arc to the current contour using two tangent points.

ArcTo(SKRect, Single, Single, Boolean)

Appends an arc of the specified oval to the current contour.

ArcTo(SKPoint, Single, SKPathArcSize, SKPathDirection, SKPoint)

Appends an SVG-style elliptical arc to the current contour.

ArcTo(Single, Single, Single, Single, Single)

Appends a circular arc to the current contour using two tangent points specified as coordinates.

ArcTo(Single, Single, Single, SKPathArcSize, SKPathDirection, Single, Single)

Appends an SVG-style elliptical arc to the current contour using separate radius and endpoint coordinates.

ArcTo(SKPoint, SKPoint, Single)

Appends a circular arc to the current contour using two tangent points.

public void ArcTo(SkiaSharp.SKPoint point1, SkiaSharp.SKPoint point2, float radius);

Parameters

point1
SKPoint

The first tangent point.

point2
SKPoint

The second tangent point and end of the arc.

radius
Single

The radius of the circular arc.

Applies to

ArcTo(SKRect, Single, Single, Boolean)

Appends an arc of the specified oval to the current contour.

public void ArcTo(SkiaSharp.SKRect oval, float startAngle, float sweepAngle, bool forceMoveTo);

Parameters

oval
SKRect

The bounds of the oval that defines the arc.

startAngle
Single

The starting angle of the arc, in degrees.

sweepAngle
Single

The sweep angle of the arc, in degrees.

forceMoveTo
Boolean

true to begin a new contour at the arc start; false to connect with a line from the current point.

Applies to

ArcTo(SKPoint, Single, SKPathArcSize, SKPathDirection, SKPoint)

Appends an SVG-style elliptical arc to the current contour.

public void ArcTo(SkiaSharp.SKPoint r, float xAxisRotate, SkiaSharp.SKPathArcSize largeArc, SkiaSharp.SKPathDirection sweep, SkiaSharp.SKPoint xy);

Parameters

r
SKPoint

The radii of the ellipse (x-radius, y-radius).

xAxisRotate
Single

The rotation of the ellipse's x-axis relative to the current coordinate system, in degrees.

largeArc
SKPathArcSize

Specifies whether the large or small arc is drawn.

sweep
SKPathDirection

The direction in which the arc is drawn.

xy
SKPoint

The end point of the arc.

Applies to

ArcTo(Single, Single, Single, Single, Single)

Appends a circular arc to the current contour using two tangent points specified as coordinates.

public void ArcTo(float x1, float y1, float x2, float y2, float radius);

Parameters

x1
Single

The x-coordinate of the first tangent point.

y1
Single

The y-coordinate of the first tangent point.

x2
Single

The x-coordinate of the second tangent point.

y2
Single

The y-coordinate of the second tangent point.

radius
Single

The radius of the circular arc.

Applies to

ArcTo(Single, Single, Single, SKPathArcSize, SKPathDirection, Single, Single)

Appends an SVG-style elliptical arc to the current contour using separate radius and endpoint coordinates.

public void ArcTo(float rx, float ry, float xAxisRotate, SkiaSharp.SKPathArcSize largeArc, SkiaSharp.SKPathDirection sweep, float x, float y);

Parameters

rx
Single

The x-radius of the ellipse.

ry
Single

The y-radius of the ellipse.

xAxisRotate
Single

The rotation of the ellipse's x-axis, in degrees.

largeArc
SKPathArcSize

Specifies whether the large or small arc is drawn.

sweep
SKPathDirection

The direction in which the arc is drawn.

x
Single

The x-coordinate of the end point.

y
Single

The y-coordinate of the end point.

Applies to