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 ScaleTransform

Inheritance
System.Object
Transform
ScaleTransform
Inherited Members
Transform.TransformBounds(Rect)
Transform.TryTransform(Point, Point)
Transform.TransformPoint(Point)
Transform.Identity
Transform.Inverse
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 sealed class ScaleTransform : Transform

Constructors

ScaleTransform()

Initializes a new instance of the System.Windows.Media.ScaleTransform class.

Declaration
public ScaleTransform()

ScaleTransform(Double, Double)

Initializes a new instance of the System.Windows.Media.ScaleTransform class with the specified x- and y- scale factors. The scale operation is centered on (0,0).

Declaration
public ScaleTransform(double scaleX, double scaleY)
Parameters
System.Double scaleX

The x-axis scale factor.

System.Double scaleY

The y-axis scale factor.

ScaleTransform(Double, Double, Double, Double)

Initializes a new instance of the System.Windows.Media.ScaleTransform class that has the specified scale factors and center point.

Declaration
public ScaleTransform(double scaleX, double scaleY, double centerX, double centerY)
Parameters
System.Double scaleX

The x-axis scale factor. For more information, see the System.Windows.Media.ScaleTransform.ScaleX property.

System.Double scaleY

The y-axis scale factor. For more information, see the System.Windows.Media.ScaleTransform.ScaleY property.

System.Double centerX

The x-coordinate of the center of this System.Windows.Media.ScaleTransform. For more information, see the System.Windows.Media.ScaleTransform.CenterX property.

System.Double centerY

The y-coordinate of the center of this System.Windows.Media.ScaleTransform. For more information, see the System.Windows.Media.ScaleTransform.CenterY property.

Properties

CenterX

Gets or sets the x-coordinate of the center point of this System.Windows.Media.ScaleTransform.

Declaration
public double CenterX { get; set; }
Property Value
System.Double

The x-coordinate of the center point of this System.Windows.Media.ScaleTransform. The default is 0.

CenterY

Gets or sets the y-coordinate of the center point of this System.Windows.Media.ScaleTransform.

Declaration
public double CenterY { get; set; }
Property Value
System.Double

The y-coordinate of the center point of this System.Windows.Media.ScaleTransform. The default is 0.

ScaleX

Gets or sets the x-axis scale factor.

Declaration
public double ScaleX { get; set; }
Property Value
System.Double

The scale factor along the x-axis. The default is 1.

ScaleY

Gets or sets the y-axis scale factor.

Declaration
public double ScaleY { get; set; }
Property Value
System.Double

The scale factor along the y-axis. The default is 1.

Value

Gets the current scaling transformation as a System.Windows.Media.Matrix object.

Declaration
public override Matrix Value { get; }
Property Value
Matrix

The current scaling transformation returned as a System.Windows.Media.Matrix object.

Overrides
Transform.Value

Methods

CreateInstanceCore()

Declaration
public Transform CreateInstanceCore()
Returns
Transform

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.