New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class ScaleTransform : Transform

Inheritance: objectTransformScaleTransform

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

Constructors

Initializes a new instance of the class.

C#
public ScaleTransform()

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

C#
public ScaleTransform(double scaleX, double scaleY, double centerX, double centerY)
Parameters:scaleXdouble

The x-axis scale factor. For more information, see the property.

scaleYdouble

The y-axis scale factor. For more information, see the property.

centerXdouble

The x-coordinate of the center of this . For more information, see the property.

centerYdouble

The y-coordinate of the center of this . For more information, see the property.

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

C#
public ScaleTransform(double scaleX, double scaleY)
Parameters:scaleXdouble

The x-axis scale factor.

scaleYdouble

The y-axis scale factor.

Properties

Gets or sets the x-coordinate of the center point of this .

C#
public double CenterX { get; set; }
Property Value:

The x-coordinate of the center point of this . The default is 0.

Gets or sets the y-coordinate of the center point of this .

C#
public double CenterY { get; set; }
Property Value:

The y-coordinate of the center point of this . The default is 0.

Gets or sets the x-axis scale factor.

C#
public double ScaleX { get; set; }
Property Value:

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

Gets or sets the y-axis scale factor.

C#
public double ScaleY { get; set; }
Property Value:

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

Gets the current scaling transformation as a Matrix object.

C#
public override Matrix Value { get; }
Property Value:

The current scaling transformation returned as a Matrix object.

Overrides: Transform.Value

Methods

C#
public Transform CreateInstanceCore()
Returns:

Transform