Click or drag to resize

MatrixScaleAt Method (IMatrix, Single, Single, Single)

Prepend a scale to the matrix from the specified point

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static void ScaleAt(
	this IMatrix matrix,
	float scale,
	float centerX,
	float centerY
)

Parameters

matrix
Type: Eto.DrawingIMatrix
Matrix to scale
scale
Type: SystemSingle
The amount to multiply coordinates along both the x and 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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMatrix. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also