Table of Contents

Method CreateScale

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

CreateScale(float, float)

Creates a TransformMatrix with the specified scale vector.

public static TransformMatrix CreateScale(float scaleX, float scaleY)

Parameters

scaleX float

The value by which to scale this TransformMatrix in the x-axis direction.

scaleY float

The value by which to scale this TransformMatrix in the y-axis direction.

Returns

TransformMatrix