scale

fun scale(scaleX: Double, scaleY: Double)

Changes the transformation represented by @matrix to be the transformation given by first scaling by @sx in the X direction and @sy in the Y direction then applying the original transformation.

Since

1.6

Parameters

scaleX

amount to scale by in X direction

scaleY

amount to scale by in Y direction