ScaleTransform Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.