Table of Contents

Class Transform

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Represents a transform on an Visual.

public abstract class Transform : Animatable, INotifyPropertyChanged, IMutableTransform, ITransform
Inheritance
Transform
Implements
Derived
Inherited Members
Extension Methods

Properties

Value

Gets the transform's Matrix.

public abstract Matrix Value { get; }

Property Value

Matrix

Methods

Parse(string)

Parses a Transform string.

public static Transform Parse(string s)

Parameters

s string

Six comma-delimited double values that describe the new Transform. For details check Parse(string)

Returns

Transform

The Transform.

RaiseChanged()

Raises the Changed event.

protected void RaiseChanged()

ToImmutable()

Converts a transform to an immutable transform.

public ImmutableTransform ToImmutable()

Returns

ImmutableTransform

The immutable transform

ToString()

Returns a String representing this transform matrix instance.

public override string ToString()

Returns

string

The string representation.

Events

Changed

Raised when the transform changes.

public event EventHandler? Changed

Event Type

EventHandler