Matrix2d.CreateScaling (Double) Method

Computes a new matrix which is a pure scaling matrix where x and y scale is the same.
Public Shared Function CreateScaling( _ 
ByVal scale As Double
) As Matrix2d
This language is not supported or no code example is available.
public static Matrix2d CreateScaling( 
double scale 
)
This language is not supported or no code example is available.
public:  
static Matrix2d^ CreateScaling( 
double scale 
)
This language is not supported or no code example is available.
public static function CreateScaling( 
scale : double 
) : Matrix2d;
This language is not supported or no code example is available.

Parameters

scale
double

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

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