// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.VisualTree
{
///
/// Holds information about the bounds of a control, together with a transform and a clip/
///
public class TransformedBounds
{
///
/// Initializes a new instance of the class.
///
/// The control's bounds.
/// The control's clip rectangle.
/// The control's transform.
public TransformedBounds(Rect bounds, Rect clip, Matrix transform)
{
this.Bounds = bounds;
this.Clip = clip;
this.Transform = transform;
}
///
/// Gets the control's bounds.
///
public Rect Bounds { get; }
///
/// Gets the control's clip rectangle.
///
public Rect Clip { get; }
///
/// Gets the control's transform.
///
public Matrix Transform { get; }
}
}