arcTo

fun arcTo(oval: Rect, startAngle: Float, sweepAngle: Float, forceMoveTo: Boolean): PathBuilder

Appends arc to path. Arc is part of ellipse bounded by oval, from startAngle through sweepAngle.

Return

this builder for chaining

Parameters

oval

bounds of ellipse containing arc

startAngle

starting angle of arc in degrees

sweepAngle

sweep, in degrees. Positive is clockwise

forceMoveTo

true to start a new contour with arc


fun arcTo(left: Float, top: Float, right: Float, bottom: Float, startAngle: Float, sweepAngle: Float, forceMoveTo: Boolean): PathBuilder

Appends arc to path. Arc is part of ellipse bounded by rectangle.

Return

this builder for chaining

Parameters

left

left edge of oval bounding ellipse

top

top edge of oval bounding ellipse

right

right edge of oval bounding ellipse

bottom

bottom edge of oval bounding ellipse

startAngle

starting angle of arc in degrees

sweepAngle

sweep, in degrees. Positive is clockwise

forceMoveTo

true to start a new contour with arc