Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoxR2

Hierarchy

Implements

Index

Constructors

constructor

  • new BoxR2(xMin: number, yMin: number, xMax: number, yMax: number): BoxR2

Accessors

bottom

  • get bottom(): number

height

  • get height(): number

left

  • get left(): number

right

  • get right(): number

top

  • get top(): number

width

  • get width(): number

x

  • get x(): number

xMax

  • get xMax(): number

xMin

  • get xMin(): number

y

  • get y(): number

yMax

  • get yMax(): number

yMin

  • get yMin(): number

Methods

Protected canEqual

  • canEqual(that: BoxR2): boolean

contains

  • contains(that: AnyShape): boolean
  • contains(x: number, y: number): boolean

debug

equals

  • equals(that: unknown): boolean

hashCode

  • hashCode(): number

intersects

  • intersects(that: Shape): boolean

toAny

toString

  • toString(): string

transform

union

Static empty

Static fromAny

Static of

  • of(xMin: number, yMin: number, xMax: number, yMax: number): BoxR2