Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T = any

Hierarchy

  • Rect

Index

Constructors

Properties

Constructors

constructor

  • new Rect<T>(position: Point, width?: number, height?: number, data?: T): Rect<T>
  • Type parameters

    • T = any

    Parameters

    • position: Point
    • width: number = 1
    • height: number = 1
    • Optional data: T

    Returns Rect<T>

Properties

Optional Readonly data

data: T

Readonly height

height: number = 1

Readonly position

position: Point

Readonly width

width: number = 1

Legend

  • Class
  • Class with type parameter
  • Property
  • Variable
  • Type alias
  • Interface with type parameter

Generated using TypeDoc