Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRect

Hierarchy

  • IRect

Index

Properties

bottom

bottom: number

contains

contains: (offset: IOffset) => boolean

Type declaration

    • Parameters

      Returns boolean

deflate

deflate: (delta: number) => IRect

Type declaration

    • Parameters

      • delta: number

      Returns IRect

expandToInclude

expandToInclude: (other: IRect) => IRect

Type declaration

getBottomCenter

getBottomCenter: () => IOffset

Type declaration

getBottomLeft

getBottomLeft: () => IOffset

Type declaration

getBottomRight

getBottomRight: () => IOffset

Type declaration

getCenter

getCenter: () => IOffset

Type declaration

getCenterLeft

getCenterLeft: () => IOffset

Type declaration

getCenterRight

getCenterRight: () => IOffset

Type declaration

getHasNaN

getHasNaN: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

getHashCode

getHashCode: () => number

Type declaration

    • (): number
    • Returns number

getHeight

getHeight: () => number

Type declaration

    • (): number
    • Returns number

getIsEmpty

getIsEmpty: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

getIsFinite

getIsFinite: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

getIsInfinite

getIsInfinite: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

getLongestSide

getLongestSide: () => number

Type declaration

    • (): number
    • Returns number

getShortestSide

getShortestSide: () => number

Type declaration

    • (): number
    • Returns number

getSize

getSize: () => ISize

Type declaration

getTopCenter

getTopCenter: () => IOffset

Type declaration

getTopLeft

getTopLeft: () => IOffset

Type declaration

getTopRight

getTopRight: () => IOffset

Type declaration

getWidth

getWidth: () => number

Type declaration

    • (): number
    • Returns number

inflate

inflate: (delta: number) => IRect

Type declaration

    • Parameters

      • delta: number

      Returns IRect

intersect

intersect: (other: IRect) => IRect

Type declaration

left

left: number

overlaps

overlaps: (other: IRect) => boolean

Type declaration

    • (other: IRect): boolean
    • Parameters

      Returns boolean

right

right: number

shift

shift: (offset: IOffset) => IRect

Type declaration

toString

toString: () => string

Type declaration

    • (): string
    • Returns string

top

top: number

translate

translate: (translateX: number, translateY: number) => IRect

Type declaration

    • (translateX: number, translateY: number): IRect
    • Parameters

      • translateX: number
      • translateY: number

      Returns IRect

Generated using TypeDoc