Table of Contents

Struct ItemBounds

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

An item's box in twips, relative to its band's origin.

public readonly struct ItemBounds : IEquatable<ItemBounds>
Implements
Inherited Members

Constructors

ItemBounds(int, int, int, int)

Initializes bounds.

Properties

Bottom

Gets the bottom edge.

CentreX

Gets the horizontal centre.

CentreY

Gets the vertical centre.

Height

Gets the height.

Left

Gets the left edge.

Right

Gets the right edge.

Top

Gets the top edge.

Width

Gets the width.

Methods

Contains(int, int)

Whether a point is inside.

Equals(ItemBounds)
Equals(object?)
GetHashCode()
Intersects(ItemBounds)

Whether two boxes overlap or touch.

Offset(int, int)

The box moved by an offset.

ToString()
Union(ItemBounds)

The smallest box holding both.

Operators

operator ==(ItemBounds, ItemBounds)

Equality.

operator !=(ItemBounds, ItemBounds)

Inequality.