padWith

infix fun <T : Region> T.padWith(padSize: Double): T

Infix extension function to quickly add padding to a Region with all sides padded to the same amount.

Parameters

padSize

The amount of padding to apply equally to all sides of the Region