Skip to content

Mojo graphics image bounds

mojo:mojo.graphics.Image.Bounds

Property Bounds:std.geom.Rectf#

The image bounds.

The bounds rect represents the actual image vertices used when the image is drawn.

Image bounds are affected by Scale and Handle, and can be used for simple collision detection.