Click or drag to resize

MatrixFromScale Method (Single, Single)

Creates a new matrix with the specified scale factor

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static IMatrix FromScale(
	float scaleX,
	float scaleY
)

Parameters

scaleX
Type: SystemSingle
The amount to multiply coordinates along the x axis
scaleY
Type: SystemSingle
The amount to multiply coordinates along the y axis

Return Value

Type: IMatrix
A new matrix with a scale transform
See Also