Matrix2d.CreateScaling (Double, Double, Point2d) Method

Computes a new matrix which is a 'stretch' matrix using a given origo, that is scaling in x and y might be diffrent.
Public Shared Function CreateScaling( _ 
ByVal xfactor As Double, _ 
ByVal yfactor As Double, _ 
ByVal origo As Point2d
) As Matrix2d
This language is not supported or no code example is available.
public static Matrix2d CreateScaling( 
double xfactor
double yfactor
Point2d origo 
)
This language is not supported or no code example is available.
public:  
static Matrix2d^ CreateScaling( 
double xfactor
double yfactor
Point2d^ origo 
)
This language is not supported or no code example is available.
public static function CreateScaling( 
xfactor : double
yfactor : double
origo : Point2d 
) : Matrix2d;
This language is not supported or no code example is available.

Parameters

xfactor
double

The x scale factor the matrix should represent. A scale >1.0 applied on an object gives a larger object.

yfactor
double

The y scale factor the matrix should represent. A scale >1.0 applied on an object gives a larger object.

origo
Point2d

The point used as origo point for scaling.

Return Value

Matrix2d

A new scaling matrix.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition