संपादित करें

इसके माध्यम से साझा किया गया


ScaleTransform Constructors

Definition

Initializes a new instance of the ScaleTransform class.

Overloads

ScaleTransform()

Initializes a new instance of the ScaleTransform class.

ScaleTransform(Double, Double)

Initializes a new instance of the ScaleTransform class with the specified x- and y- scale factors. The scale operation is centered on (0,0).

ScaleTransform(Double, Double, Double, Double)

Initializes a new instance of the ScaleTransform class that has the specified scale factors and center point.

ScaleTransform()

Initializes a new instance of the ScaleTransform class.

public:
 ScaleTransform();
public ScaleTransform ();
Public Sub New ()

Applies to

ScaleTransform(Double, Double)

Initializes a new instance of the ScaleTransform class with the specified x- and y- scale factors. The scale operation is centered on (0,0).

public:
 ScaleTransform(double scaleX, double scaleY);
public ScaleTransform (double scaleX, double scaleY);
new System.Windows.Media.ScaleTransform : double * double -> System.Windows.Media.ScaleTransform
Public Sub New (scaleX As Double, scaleY As Double)

Parameters

scaleX
Double

The x-axis scale factor.

scaleY
Double

The y-axis scale factor.

Applies to

ScaleTransform(Double, Double, Double, Double)

Initializes a new instance of the ScaleTransform class that has the specified scale factors and center point.

public:
 ScaleTransform(double scaleX, double scaleY, double centerX, double centerY);
public ScaleTransform (double scaleX, double scaleY, double centerX, double centerY);
new System.Windows.Media.ScaleTransform : double * double * double * double -> System.Windows.Media.ScaleTransform
Public Sub New (scaleX As Double, scaleY As Double, centerX As Double, centerY As Double)

Parameters

scaleX
Double

The x-axis scale factor. For more information, see the ScaleX property.

scaleY
Double

The y-axis scale factor. For more information, see the ScaleY property.

centerX
Double

The x-coordinate of the center of this ScaleTransform. For more information, see the CenterX property.

centerY
Double

The y-coordinate of the center of this ScaleTransform. For more information, see the CenterY property.

See also

Applies to