Class ScaleTransform
Scale an Visual.
public sealed class ScaleTransform : Transform, INotifyPropertyChanged, IMutableTransform, ITransform
- Inheritance
-
ScaleTransform
- Implements
- Inherited Members
- Extension Methods
Constructors
ScaleTransform()
Initializes a new instance of the ScaleTransform class.
public ScaleTransform()
ScaleTransform(double, double)
Initializes a new instance of the ScaleTransform class.
public ScaleTransform(double scaleX, double scaleY)
Parameters
Fields
ScaleXProperty
Defines the ScaleX property.
public static readonly StyledProperty<double> ScaleXProperty
Field Value
ScaleYProperty
Defines the ScaleY property.
public static readonly StyledProperty<double> ScaleYProperty
Field Value
Properties
ScaleX
Gets or sets the ScaleX property.
public double ScaleX { get; set; }
Property Value
ScaleY
Gets or sets the ScaleY property.
public double ScaleY { get; set; }
Property Value
Value
Gets the transform's Matrix.
public override Matrix Value { get; }
Property Value
Methods
OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
Called when a avalonia property changes on the object.
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
Parameters
change
AvaloniaPropertyChangedEventArgsThe property change details.