skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Transform

Inheritance
System.Object
Transform
MatrixTransform
RotateTransform
ScaleTransform
TransformGroup
TranslateTransform
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 rect.

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 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
public virtual bool TryTransform(Point inPoint, out Point result)
Parameters
Point inPoint

The point to transform.

Point result

The result of transforming inPoint.

Returns
System.Boolean

true if inPoint was transformed; otherwise, false.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.