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.
See also
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應