Matrix.Scale

Scale(float, float)

Applies the specified scale vector to this Matrix by prepending the scale vector.

public void Scale(float scaleX, float scaleY)
ParameterTypeDescription
scaleXSingleThe value by which to scale this Matrix in the x-axis direction.
scaleYSingleThe value by which to scale this Matrix in the y-axis direction.

See Also


Scale(float, float, MatrixOrder)

Applies the specified scale vector (scaleX and scaleY) to this Matrix using the specified order.

public void Scale(float scaleX, float scaleY, MatrixOrder order)
ParameterTypeDescription
scaleXSingleThe value by which to scale this Matrix in the x-axis direction.
scaleYSingleThe value by which to scale this Matrix in the y-axis direction.
orderMatrixOrderA MatrixOrder that specifies the order (append or prepend) in which the scale vector is applied to this Matrix.

See Also