New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a scale transformation that scales an object uniformly or non-uniformly along the x and y axes.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadScaleTransform : RadTransform, INotifyPropertyChanged

Inheritance: objectRadTransformRadScaleTransform

Implements: INotifyPropertyChanged

Inherited Members RadTransform.OnPropertyChanged(string)RadTransform.PropertyChanged

Constructors

Initializes a new instance of the RadScaleTransform class.

C#
public RadScaleTransform()

Initializes a new instance of the RadScaleTransform class with the specified scale factors and center point.

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

The scale factor along the x-axis.

scaleYdouble

The scale factor along the y-axis.

centerXdouble

The x-coordinate of the center point of the transformation.

centerYdouble

The y-coordinate of the center point of the transformation.

Initializes a new instance of the RadScaleTransform class with the specified scale factors.

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

The scale factor along the x-axis.

scaleYdouble

The scale factor along the y-axis.

Properties

The center X-coordinate of this transformation measured in pixels.

C#
public double CenterX { get; set; }

The center Y-coordinate of this transformation measured in pixels.

C#
public double CenterY { get; set; }

Gets or sets the scale factor along the x-axis.

C#
public double ScaleX { get; set; }

Gets or sets the scale factor along the y-axis.

C#
public double ScaleY { get; set; }