operator & method

LayoutRect operator &(
  1. LayoutSize size
)

Creates a rectangle by combining this offset with a size.

The resulting rectangle has this offset as its top-left corner and extends by the given size.

Implementation

LayoutRect operator &(LayoutSize size) {
  return LayoutRect.fromLTWH(dx, dy, size.width, size.height);
}