Class ScaleTransform
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public sealed class ScaleTransform : Transform
Constructors
ScaleTransform()
Initializes a new instance of the System.Windows.Media.ScaleTransform class.
Declaration
public ScaleTransform()
ScaleTransform(Double, Double)
Initializes a new instance of the System.Windows.Media.ScaleTransform class with the specified x- and y- scale factors. The scale operation is centered on (0,0).
Declaration
public ScaleTransform(double scaleX, double scaleY)
Parameters
System.Double
scaleX
The x-axis scale factor. |
System.Double
scaleY
The y-axis scale factor. |
ScaleTransform(Double, Double, Double, Double)
Initializes a new instance of the System.Windows.Media.ScaleTransform class that has the specified scale factors and center point.
Declaration
public ScaleTransform(double scaleX, double scaleY, double centerX, double centerY)
Parameters
System.Double
scaleX
The x-axis scale factor. For more information, see the System.Windows.Media.ScaleTransform.ScaleX property. |
System.Double
scaleY
The y-axis scale factor. For more information, see the System.Windows.Media.ScaleTransform.ScaleY property. |
System.Double
centerX
The x-coordinate of the center of this System.Windows.Media.ScaleTransform. For more information, see the System.Windows.Media.ScaleTransform.CenterX property. |
System.Double
centerY
The y-coordinate of the center of this System.Windows.Media.ScaleTransform. For more information, see the System.Windows.Media.ScaleTransform.CenterY property. |
Properties
CenterX
Gets or sets the x-coordinate of the center point of this System.Windows.Media.ScaleTransform.
Declaration
public double CenterX { get; set; }
Property Value
System.Double
The x-coordinate of the center point of this System.Windows.Media.ScaleTransform. The default is 0. |
CenterY
Gets or sets the y-coordinate of the center point of this System.Windows.Media.ScaleTransform.
Declaration
public double CenterY { get; set; }
Property Value
System.Double
The y-coordinate of the center point of this System.Windows.Media.ScaleTransform. The default is 0. |
ScaleX
Gets or sets the x-axis scale factor.
Declaration
public double ScaleX { get; set; }
Property Value
System.Double
The scale factor along the x-axis. The default is 1. |
ScaleY
Gets or sets the y-axis scale factor.
Declaration
public double ScaleY { get; set; }
Property Value
System.Double
The scale factor along the y-axis. The default is 1. |
Value
Gets the current scaling transformation as a System.Windows.Media.Matrix object.
Declaration
public override Matrix Value { get; }
Property Value
Matrix
The current scaling transformation returned as a System.Windows.Media.Matrix object. |