Click or drag to resize

MatrixFromScaleAt Method (Single, Single, Single, Single)

Creates a new matrix with a scale at the specified point

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

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
centerX
Type: SystemSingle
X co-ordinate of the point to scale from
centerY
Type: SystemSingle
Y co-ordinate of the point to scale from

Return Value

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