addOval

fun addOval(oval: Rect, dir: PathDirection = PathDirection.CLOCKWISE, start: Int = 1): PathBuilder

Adds oval to path, appending MOVE, four CONIC, and CLOSE verbs.

Return

this builder for chaining

Parameters

oval

bounds of ellipse

dir

direction to wind ellipse

start

index of initial point: 0=top, 1=right, 2=bottom, 3=left


fun addOval(left: Float, top: Float, right: Float, bottom: Float, dir: PathDirection = PathDirection.CLOCKWISE, start: Int = 1): PathBuilder

Adds oval to path, appending MOVE, four CONIC, and CLOSE verbs.

Return

this builder for chaining

Parameters

left

left edge of oval

top

top edge of oval

right

right edge of oval

bottom

bottom edge of oval

dir

direction to wind ellipse

start

index of initial point: 0=top, 1=right, 2=bottom, 3=left