Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rect<Vector_T>

Type parameters

  • Vector_T

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

height

height: number

left

left: number

top

top: number

width

width: number

Methods

contains

  • contains(x: number, y: number): boolean
  • contains(point: PointType<Vector_T>): boolean

intersects

  • intersects(rect: Rect<Vector_T>): false | Rect<Vector_T>

Generated using TypeDoc