Skip to main content

TransformedBounds Structure

Holds information about the bounds of a control, together with a transform and a clip.

Definition​

Namespace: Avalonia.VisualTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public readonly struct TransformedBounds : IEquatable<TransformedBounds>
View Source
InheritanceObject → ValueType → TransformedBounds
ImplementsIEquatable(TransformedBounds)

Constructors​

TransformedBounds(Rect, Rect, Matrix)Initializes a new instance of the TransformedBounds struct.

Properties​

BoundsGets the control's bounds in its local coordinate space.
ClipGets the control's clip rectangle in global coordinate space.
TransformGets the transform from local to global coordinate space.

Methods​

Contains(Point) 
Equals(Object)
(Overrides ValueType.Equals(Object))
Equals(TransformedBounds) 
GetHashCode()
(Overrides ValueType.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()
(Overrides ValueType.ToString())

Operators​

Equality(TransformedBounds, TransformedBounds) 
Inequality(TransformedBounds, TransformedBounds) 

See Also​

Reference​

Avalonia.VisualTree Namespace