Skip to main content
All docs
V23.2

DXMatrix.CreateScaleMatrix(Single, Single) Method

Creates a new matrix based on the current matrix and applies the specified scale vector.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public static DXMatrix CreateScaleMatrix(
    float scaleX,
    float scaleY
)

Parameters

Name Type Description
scaleX Single

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

scaleY Single

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

Returns

Type Description
DXMatrix

The resulting transformation matrix.

See Also