New to Telerik UI for WinForms? Start a free 30-day trial

Stores horizontal and vertical scale factors and can scale a point relative to the origin.

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ScaleTransform : RenderTransform, INotifyPropertyChanged

Inheritance: objectRenderTransformScaleTransform

Implements: INotifyPropertyChanged

Inherited Members RenderTransform.OnPropertyChanged(string)RenderTransform.PropertyChanged

Constructors

C#
public ScaleTransform()

Properties

Gets or sets the stored horizontal center coordinate. The current point-transform and UIElement rendering paths do not use it.

C#
public double CenterX { get; set; }

Gets or sets the stored vertical center coordinate. The current point-transform and UIElement rendering paths do not use it.

C#
public double CenterY { get; set; }

Gets or sets the horizontal scale factor. A new transform has a value of zero until this property is assigned.

C#
public double ScaleX { get; set; }

Gets or sets the vertical scale factor. A new transform has a value of zero until this property is assigned.

C#
public double ScaleY { get; set; }

Methods

Scales a point's coordinates by ScaleX and ScaleY; the center properties are not applied.

C#
public Point Transform(Point point)
Parameters:pointPoint

The point to scale.

Returns:

Point

A point with its coordinates multiplied by the corresponding scale factors.