Table of Contents

Method ScaleImages

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ScaleImages(float, params Image?[])

Scales each specified image by the given scale factor.

public static void ScaleImages(float scaleFactor, params Image?[] images)

Parameters

scaleFactor float

The factor by which to scale each image. A value close to (1, 1) leaves images unchanged; other values apply proportional scaling along each axis.

images Image[]

The images to be scaled.

Remarks

If the scale factor is (1, 1) or close to this value, no scaling is performed. This method modifies the provided images in place.