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

Parameter | Description
--- | ---
`width` | Preferred width.
`height` | Preferred height.

Example

    image.resize(128, 128)