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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기