mojo.graphics.Image.Scale - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Image.Scale

Property Scale:std:std.geom.Vec2f

The image scale.

The scale property provides a simple way to 'pre-scale' an image.

For images with a constant scale, Scaling an image this way is faster than using one of the 'scale' parameters of Canvas.DrawImage.