Class
TranslateTransform

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public sealed class TranslateTransform : Transform

Inheritance: objectTransformTranslateTransform

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

Constructors

TranslateTransform()

Initializes a new instance of the class.

Declaration

cs-api-definition
public TranslateTransform()

TranslateTransform(double, double)

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

Declaration

cs-api-definition
public TranslateTransform(double offsetX, double offsetY)

Parameters

offsetX

double

The displacement in the direction of the x-axis.

offsetY

double

The displacement in the direction of the y-axis.

Properties

Value

Gets a Matrix representation of this .

Declaration

cs-api-definition
public override Matrix Value { get; }

Property Value

Matrix

A matrix that represents this .

Overrides Transform.Value

X

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

Declaration

cs-api-definition
public double X { get; set; }

Property Value

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

cs-api-definition
public double Y { get; set; }

Property Value

double

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

Methods

CreateInstanceCore()

Declaration

cs-api-definition
public Transform CreateInstanceCore()

Returns

Transform