A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
556 B

using Avalonia.VisualTree;
namespace Avalonia.Media.Immutable
{
/// <summary>
/// Represents a transform on an <see cref="Visual"/>.
/// </summary>
public class ImmutableTransform : ITransform
{
public Matrix Value { get; }
/// <summary>
/// Initializes a new instance of the <see cref="ImmutableTransform"/> class.
/// </summary>
/// <param name="matrix">The transform matrix.</param>
public ImmutableTransform(Matrix matrix)
{
Value = matrix;
}
}
}