ScaleTransform Constructors
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.
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. |
Initializes a new instance of the ScaleTransform class.
public:
ScaleTransform();
public ScaleTransform ();
Public Sub New ()
Applies to
.NET Framework 4.8.1 ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 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, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 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, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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.
See also
Applies to
.NET Framework 4.8.1 ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 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, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: