Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Rect

Implements

Index

Constructors

constructor

  • Parameters

    Returns Rect

Properties

Readonly height

height: Length

Readonly width

width: Length

Readonly x

Readonly y

Methods

Protected copy

  • Parameters

    Returns Rect

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

draw

  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

render

  • Returns string

  • Parameters

    Returns void

Protected renderRect

  • Parameters

    Returns void

toAny

  • Returns RectInit

toString

  • toString(): string
  • Returns string

withHeight

  • Parameters

    Returns Rect

withWidth

  • Parameters

    Returns Rect

withX

  • Parameters

    Returns Rect

withY

  • Parameters

    Returns Rect

Static create

Static fromAny

  • Parameters

    Returns Rect

Generated using TypeDoc