Class Transform
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public abstract class Transform
Properties
Identity
Gets an identity transform.
Declaration
public static Transform Identity { get; }
Property Value
Transform
An identity transform. |
Inverse
Gets the inverse of this transform, if it exists.
Declaration
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 System.Windows.Media.Matrix object.
Declaration
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
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 |
TransformPoint(Point)
Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.
Declaration
public virtual Point TransformPoint(Point inPoint)
Parameters
Point
inPoint
The point to transform. |
Returns
Point
true if |
TryTransform(Point, out Point)
Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.
Declaration
public virtual bool TryTransform(Point inPoint, out Point result)
Parameters
Point
inPoint
The point to transform. |
Point
result
The result of transforming |
Returns
System.Boolean
true if |