Class
ScaleTransform

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public sealed class ScaleTransform : Transform

Inheritance: objectTransformScaleTransform

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

Constructors

ScaleTransform()

Initializes a new instance of the class.

Declaration

cs-api-definition
public ScaleTransform()

ScaleTransform(double, double)

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

Declaration

cs-api-definition
public ScaleTransform(double scaleX, double scaleY)

Parameters

scaleX

double

The x-axis scale factor.

scaleY

double

The y-axis scale factor.

ScaleTransform(double, double, double, double)

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

Declaration

cs-api-definition
public ScaleTransform(double scaleX, double scaleY, double centerX, double centerY)

Parameters

scaleX

double

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

scaleY

double

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

centerX

double

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

centerY

double

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

Properties

CenterX

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

Declaration

cs-api-definition
public double CenterX { get; set; }

Property Value

double

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

CenterY

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

Declaration

cs-api-definition
public double CenterY { get; set; }

Property Value

double

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

ScaleX

Gets or sets the x-axis scale factor.

Declaration

cs-api-definition
public double ScaleX { get; set; }

Property Value

double

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

ScaleY

Gets or sets the y-axis scale factor.

Declaration

cs-api-definition
public double ScaleY { get; set; }

Property Value

double

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

Value

Gets the current scaling transformation as a Matrix object.

Declaration

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

Property Value

Matrix

The current scaling transformation returned as a Matrix object.

Overrides Transform.Value

Methods

CreateInstanceCore()

Declaration

cs-api-definition
public Transform CreateInstanceCore()

Returns

Transform