klyn.gui.images.RasterImage.resize
method
public override resize(width as Int, height as Int) as Void:
Description

Stores logical dimensions for subsequent rendering decisions.

The decoded source pixels stay immutable. The logical dimensions are used when rendering without an explicit destination size.

Parameters
ParameterDescription
widthPreferred width.
heightPreferred height.
Example
image.resize(128, 128)