addPath

fun addPath(src: Path, mode: PathAddMode = PathAddMode.APPEND): PathBuilder

Appends src path to this builder.

Return

this builder for chaining

Parameters

src

path to add

mode

how to append the path (APPEND or EXTEND)


fun addPath(src: Path, dx: Float, dy: Float, mode: PathAddMode = PathAddMode.APPEND): PathBuilder

Appends src path offset by (dx, dy).

Return

this builder for chaining

Parameters

src

path to add

dx

offset on x-axis

dy

offset on y-axis

mode

how to append the path (APPEND or EXTEND)


fun addPath(src: Path, matrix: Matrix33, mode: PathAddMode = PathAddMode.APPEND): PathBuilder

Appends src path transformed by matrix.

Return

this builder for chaining

Parameters

src

path to add

matrix

transform to apply

mode

how to append the path (APPEND or EXTEND)