expandBy

fun expandBy(pixels: Float, clone: Boolean = false): BoundingBox

Expand all coordinates with pixels pixels

Return

this or the new cloned modified bounding box (see clone)

Parameters

pixels

the amount of pixel to extend

clone

if true, the return value is a new modified Bounding, else the operation is performed on this and this is returned