ImmutableMatrixScaleMatrix Method |
Returns a new instance of a scale matrix
Namespace:
Atalasoft.FormsProcessing.Geometry
Assembly:
Atalasoft.dotImage.FormsProcessing (in Atalasoft.dotImage.FormsProcessing.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static ImmutableMatrix ScaleMatrix(
float x,
float y
)
Public Shared Function ScaleMatrix (
x As Single,
y As Single
) As ImmutableMatrix
Parameters
- x
- Type: SystemSingle
Scaling magnitude on the X-Axis - y
- Type: SystemSingle
Scaling magnitude on the Y-Axis
Return Value
Type:
ImmutableMatrix A new instance of a scale matrix.
Remarks The X and Y values are scaling magnitudes in the X and Y direction. For example, a value of 1.0
will leave the geometry the same while a value of 1.1 will increase the scale by 10%.
See Also