Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a Size type with Width, Height

Hierarchy

  • Size

Index

Constructors

Properties

Constructors

constructor

  • new Size(width: number, height: number): Size
  • Creates an instance of the Size with specified width and height

    Parameters

    • width: number
    • height: number

    Returns Size

Properties

Readonly height

height: number

Gets or sets the Height

Readonly width

width: number

Gets or sets the Hidth

Static Readonly EMPTY

EMPTY: Size = new Size(0, 0)

The static Empty size returns a Size with Width=0, Height=0

Generated using TypeDoc