Back to Devexpress

DXMatrix.CreateScaleMatrix(Single, Single) Method

corelibraries-devexpress-dot-drawing-dot-dxmatrix-dot-createscalematrix-x28-system-dot-single-system-dot-single-x29.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public static DXMatrix CreateScaleMatrix(
    float scaleX,
    float scaleY
)
vb
Public Shared Function CreateScaleMatrix(
    scaleX As Single,
    scaleY As Single
) As DXMatrix

Parameters

NameTypeDescription
scaleXSingle

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

TypeDescription
DXMatrix

The resulting transformation matrix.

|

See Also

DXMatrix Class

DXMatrix Members

DevExpress.Drawing Namespace