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
public static void ScaleAt(
	this IMatrix matrix,
	float scale,
	float centerX,
	float centerY


Type: Eto.DrawingIMatrix
Matrix to scale
Type: SystemSingle
The amount to multiply coordinates along both the x and y axis
Type: SystemSingle
X co-ordinate of the point to scale from
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