offset

fun offset(dx: Float, dy: Float, dst: Path? = null): Path

Offsets Point array by (dx, dy). Path is replaced by offset data.

Return

this

Parameters

dx

offset added to Point array x-axis coordinates

dy

offset added to Point array y-axis coordinates