Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISize

Hierarchy

  • ISize

Index

Properties

bottomCenter

bottomCenter: (origin: IOffset) => IOffset

Type declaration

bottomLeft

bottomLeft: (origin: IOffset) => IOffset

Type declaration

bottomRight

bottomRight: (origin: IOffset) => IOffset

Type declaration

center

center: (origin: IOffset) => IOffset

Type declaration

centerLeft

centerLeft: (origin: IOffset) => IOffset

Type declaration

centerRight

centerRight: (origin: IOffset) => IOffset

Type declaration

contains

contains: (offset: IOffset) => boolean

Type declaration

    • Parameters

      Returns boolean

getAspectRatio

getAspectRatio: () => number

Type declaration

    • (): number
    • Returns number

getFlipped

getFlipped: () => ISize

Type declaration

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

getWidth

getWidth: () => number

Type declaration

    • (): number
    • Returns number

toString

toString: () => string

Type declaration

    • (): string
    • Returns string

topCenter

topCenter: (origin: IOffset) => IOffset

Type declaration

topLeft

topLeft: (origin: IOffset) => IOffset

Type declaration

topRight

topRight: (origin: IOffset) => IOffset

Type declaration

Generated using TypeDoc