Matrix.

CreateScale(double, double) Method

Summary

Creates a scale matrix from the given X and Y components.
Namespace
Avalonia
Containing Type
Matrix

Syntax

public static Matrix CreateScale(double xScale, double yScale)

Parameters

Name Type Description
xScale double Value to scale by on the X-axis.
yScale double Value to scale by on the Y-axis.

Return Value

Type Description
Matrix A scaling matrix.