'Declaration Public Overloads Shared Function CreateScaling( _
ByVal scaleXHorizontal scale.As Double, _
ByVal scaleYVertical scale.As Double, _
ByVal centerXThe X coordinate of point, relative to which the matrix must be scaled.As Double, _
ByVal centerYThe 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.