Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Size

Hierarchy

  • Size

Implements

Index

Constructors

constructor

  • new Size(width: number, height: number): Size

Properties

Private Readonly _dart_bottomCenter

_dart_bottomCenter: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_bottomLeft

_dart_bottomLeft: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_bottomRight

_dart_bottomRight: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_center

_dart_center: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_centerLeft

_dart_centerLeft: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_centerRight

_dart_centerRight: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_contains

_dart_contains: (offset: IOffset) => boolean = ...

Type declaration

    • Parameters

      Returns boolean

Private Readonly _dart_getAspectRatio

_dart_getAspectRatio: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getFlipped

_dart_getFlipped: () => ISize = ...

Type declaration

Private Readonly _dart_getHashCode

_dart_getHashCode: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getHeight

_dart_getHeight: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getIsEmpty

_dart_getIsEmpty: () => boolean = ...

Type declaration

    • (): boolean
    • Returns boolean

Private Readonly _dart_getIsFinite

_dart_getIsFinite: () => boolean = ...

Type declaration

    • (): boolean
    • Returns boolean

Private Readonly _dart_getIsInfinite

_dart_getIsInfinite: () => boolean = ...

Type declaration

    • (): boolean
    • Returns boolean

Private Readonly _dart_getLongestSide

_dart_getLongestSide: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getShortestSide

_dart_getShortestSide: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getWidth

_dart_getWidth: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_toString

_dart_toString: () => string = ...

Type declaration

    • (): string
    • Returns string

Private Readonly _dart_topCenter

_dart_topCenter: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_topLeft

_dart_topLeft: (origin: IOffset) => IOffset = ...

Type declaration

Private Readonly _dart_topRight

_dart_topRight: (origin: IOffset) => IOffset = ...

Type declaration

Static infinite

infinite: Size = ...

Static zero

zero: Size = ...

Methods

bottomCenter

bottomLeft

bottomRight

center

centerLeft

centerRight

contains

  • contains(offset: IOffset): boolean

getAspectRatio

  • getAspectRatio(): number

getFlipped

getHashCode

  • getHashCode(): number

getHeight

  • getHeight(): number

getIsEmpty

  • getIsEmpty(): boolean

getIsFinite

  • getIsFinite(): boolean

getIsInfinite

  • getIsInfinite(): boolean

getLongestSide

  • getLongestSide(): number

getShortestSide

  • getShortestSide(): number

getWidth

  • getWidth(): number

toString

  • toString(): string

topCenter

topLeft

topRight

Static copy

Static fromHeight

  • fromHeight(height: number): ISize

Static fromRadius

  • fromRadius(radius: number): ISize

Static fromWidth

  • fromWidth(width: number): ISize

Static lerp

  • lerp(a: undefined | ISize, b: undefined | ISize, t: number): undefined | ISize

Static square

  • square(dimension: number): ISize

Generated using TypeDoc