Hierarchy

  • Size

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

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

    • width: number
    • height: number

    Returns Size

Properties

height

height: number = 0

width

width: number = 0

Accessors

isEmpty

  • get isEmpty(): boolean
  • Returns boolean

Static empty

Methods

round

  • round(digits?: number): Size
  • Parameters

    • Default value digits: number = 0

    Returns Size

swap

Static convertFromXml

  • convertFromXml(text: string): Size
  • Parameters

    • text: string

    Returns Size

Generated using TypeDoc