scaleX

fun scaleX(scalar: Number)

Scales this ComponentView's width by the given scalar.

Parameters

scalar

New x scale.

Throws

If the given scalar is negative.


var scaleX: Double

Horizontal scale of this ComponentView.

See also