Class
Transform

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public abstract class Transform

Inheritance: objectTransform

Derived Classes: MatrixTransformRotateTransformScaleTransformTransformGroupTranslateTransform

Properties

Identity

Gets an identity transform.

Declaration

cs-api-definition
public static Transform Identity { get; }

Property Value

Transform

An identity transform.

Inverse

Gets the inverse of this transform, if it exists.

Declaration

cs-api-definition
public virtual Transform Inverse { get; }

Property Value

Transform

The inverse of this transform, if it exists; otherwise, null.

Value

Gets the current transformation as a Matrix object.

Declaration

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

Property Value

Matrix

The current matrix transformation.

Methods

TransformBounds(Rect)

Transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

Declaration

cs-api-definition
public virtual Rect TransformBounds(Rect rect)

Parameters

rect

Rect

The bounding box to transform.

Returns

Rect

The smallest axis-aligned bounding box that can contain the transformed rect.

TransformPoint(Point)

Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.

Declaration

cs-api-definition
public virtual Point TransformPoint(Point inPoint)

Parameters

inPoint

Point

The point to transform.

Returns

Point

true if inPoint was transformed; otherwise, false.

TryTransform(Point, out Point)

Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.

Declaration

cs-api-definition
public virtual bool TryTransform(Point inPoint, out Point result)

Parameters

inPoint

Point

The point to transform.

result

Point

The result of transforming inPoint.

Returns

bool

true if inPoint was transformed; otherwise, false.