// -----------------------------------------------------------------------
//
// Copyright 2014 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Media
{
using System;
using Perspex.Animation;
///
/// Represents a transform on an .
///
public abstract class Transform : Animatable
{
///
/// Raised when the transform changes.
///
public event EventHandler Changed;
///
/// Gets the tranform's .
///
public abstract Matrix Value { get; }
///
/// Raises the event.
///
protected void RaiseChanged()
{
if (this.Changed != null)
{
this.Changed(this, EventArgs.Empty);
}
}
}
}