scale

open override fun scale(factor: Double): Bounds

Scale Bounds using the given factor. Affects: x, y, width and height

Return

A scaled version of this Bounds

Parameters

factor

The multiplication factor, e.g. 0.5 decreases by 50% and 2.0 increases by 200%