Click or drag to resize

MatrixScale Method (IMatrix, Single)

Prepend a scale to the matrix from the origin (0, 0)

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

Parameters

matrix
Type: Eto.DrawingIMatrix
Matrix to scale
scale
Type: SystemSingle
The amount to multiply coordinates along both the x and y axis

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