Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Rectangle2D

Implements

Index

Constructors

  • new Rectangle2D(x?: number, y?: number, width?: number, height?: number): Rectangle2D

Properties

height: number = 0
origin: Vector2 = ...
position: Vector2 = ...
width: number = 0

Accessors

Methods

  • pointInShape(point: Vector2): boolean
  • setFromJson(json: any): void

Generated using TypeDoc