TransformedBounds Struct
Definition
Holds information about the bounds of a control, together with a transform and a clip.
public struct TransformedBounds
Constructors
| Name | Description |
|---|---|
| TransformedBounds | Initializes a new instance of the Avalonia.VisualTree.TransformedBounds struct. |
TransformedBounds Constructor
Initializes a new instance of the Avalonia.VisualTree.TransformedBounds struct.
public TransformedBounds(Avalonia.Rect bounds, Avalonia.Rect clip, Avalonia.Matrix transform)
Parameters
bounds Avalonia.Rect
The control's bounds.
clip Avalonia.Rect
The control's clip rectangle.
transform Avalonia.Matrix
The control's transform.
Methods
| Name | Description |
|---|---|
| Contains | No summary available. |
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Contains Method
public bool Contains(Avalonia.Point point)
Parameters
point Avalonia.Point
Returns
bool
Equals overloads
Equals Method
public bool Equals(Avalonia.VisualTree.TransformedBounds other)
Parameters
other Avalonia.VisualTree.TransformedBounds
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Bounds | Gets the control's bounds in its local coordinate space. |
| Clip | Gets the control's clip rectangle in global coordinate space. |
| Transform | Gets the transform from local to global coordinate space. |
Bounds Property
Gets the control's bounds in its local coordinate space.
public Avalonia.Rect Bounds { get; set; }
Clip Property
Gets the control's clip rectangle in global coordinate space.
public Avalonia.Rect Clip { get; set; }
Transform Property
Gets the transform from local to global coordinate space.
public Avalonia.Matrix Transform { get; set; }