VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging Namespace / AffineMatrix Class / CreateScaling Methods / CreateScaling(Double,Double,Double,Double) Method
Syntax Requirements SeeAlso
In This Topic
CreateScaling(Double,Double,Double,Double) Method (AffineMatrix)
In This Topic
Creates scaled matrix.
Syntax
'Declaration

Public Overloads Shared Function CreateScaling( _
ByVal scaleX
Horizontal scale.
As Double, _
ByVal scaleY
Vertical scale.
As Double, _
ByVal centerX
The X coordinate of point, relative to which the matrix must be scaled.
As Double, _
ByVal centerY
The Y coordinate of point, relative to which the matrix must be scaled.
As Double _
) As AffineMatrix
public static AffineMatrix CreateScaling(
double scaleX,
double scaleY,
double centerX,
double centerY
)

Parameters

scaleX
Horizontal scale.
scaleY
Vertical scale.
centerX
The X coordinate of point, relative to which the matrix must be scaled.
centerY
The Y coordinate of point, relative to which the matrix must be scaled.

Return Value

The scaled matrix.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also