Class TranslateTransform
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public sealed class TranslateTransform : Transform
Constructors
TranslateTransform()
Initializes a new instance of the System.Windows.Media.TranslateTransform class.
Declaration
public TranslateTransform()
TranslateTransform(Double, Double)
Initializes a new instance of the System.Windows.Media.TranslateTransform class and specifies the displacements in the direction of the x- and y- axes.
Declaration
public TranslateTransform(double offsetX, double offsetY)
Parameters
System.Double
offsetX
The displacement in the direction of the x-axis. |
System.Double
offsetY
The displacement in the direction of the y-axis. |
Properties
Value
Gets a System.Windows.Media.Matrix representation of this System.Windows.Media.TranslateTransform.
Declaration
public override Matrix Value { get; }
Property Value
Matrix
A matrix that represents this System.Windows.Media.TranslateTransform. |
Overrides
X
Gets or sets the distance to translate along the x-axis.
Declaration
public double X { get; set; }
Property Value
System.Double
The distance to translate (move) an object along the x-axis. The default value is 0. |
Y
Gets or sets the distance to translate (move) an object along the y-axis.
Declaration
public double Y { get; set; }
Property Value
System.Double
The distance to translate (move) an object along the y-axis. The default value is 0. |