New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class TranslateTransform : Transform

Inheritance: objectTransformTranslateTransform

Inherited Members Transform.TransformBounds(Rect)Transform.TryTransform(Point, out Point)Transform.TransformPoint(Point)Transform.IdentityTransform.Inverse

Constructors

Initializes a new instance of the class.

C#
public TranslateTransform()

Initializes a new instance of the class and specifies the displacements in the direction of the x- and y- axes.

C#
public TranslateTransform(double offsetX, double offsetY)
Parameters:offsetXdouble

The displacement in the direction of the x-axis.

offsetYdouble

The displacement in the direction of the y-axis.

Properties

Gets a Matrix representation of this .

C#
public override Matrix Value { get; }
Property Value:

A matrix that represents this .

Overrides: Transform.Value

Gets or sets the distance to translate along the x-axis.

C#
public double X { get; set; }
Property Value:

The distance to translate (move) an object along the x-axis. The default value is 0.

Gets or sets the distance to translate (move) an object along the y-axis.

C#
public double Y { get; set; }
Property Value:

The distance to translate (move) an object along the y-axis. The default value is 0.

Methods

C#
public Transform CreateInstanceCore()
Returns:

Transform