TransformedBounds Struct

Summary

Holds information about the bounds of a control, together with a transform and a clip.
Namespace
Avalonia.VisualTree
Interfaces
Base Types
  • object
  • ValueType
graph BT Type-->Base0["ValueType"] Base0-->Base1["object"] Type-.->Interface0["IEquatable<TransformedBounds>"] Type["TransformedBounds"] class Type type-node

Syntax

public readonly struct TransformedBounds : ValueType, IEquatable<TransformedBounds>

Constructors

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

Properties

Name Value Summary
Bounds Rect
Gets the control's bounds in its local coordinate space.
Clip Rect
Gets the control's clip rectangle in global coordinate space.
Transform Matrix
Gets the transform from local to global coordinate space.

Methods

Operators

Name Value Summary
operator !=(TransformedBounds, TransformedBounds) bool
operator ==(TransformedBounds, TransformedBounds) bool