transform

fun transform(matrix: Matrix33, applyPerspectiveClip: Boolean): Path

Transforms verb array, Point array, and weight by matrix. transform may change verbs and increase their number. Path is replaced by transformed data.

Return

this

Parameters

matrix

matrix to apply to Path

applyPerspectiveClip

whether to apply perspective clipping


fun transform(matrix: Matrix33, dst: Path? = null, applyPerspectiveClip: Boolean = true): Path

Transforms verb array, Point array, and weight by matrix. transform may change verbs and increase their number. Transformed Path replaces dst; if dst is null, original data is replaced.

Return

this

Parameters

matrix

matrix to apply to Path

dst

overwritten, transformed copy of Path; may be null

See also