margin

open fun margin(leftFront: Vector2, rightBack: Vector2): Shape2d

Does not change the shape, only the axis aligned bounding box defined by corner and size. This will alter how methods such as toOrigin and 'tileX' in the 'layout' extension.


open fun margin(margin: Vector2): Shape2d
open fun margin(xy: Double): Shape2d
open fun margin(x: Double, y: Double): Shape2d