TransformedBounds Struct

Summary

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

Syntax

public readonly struct TransformedBounds : ValueType

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