Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Size

Describes a two dimensional size.

Hierarchy

  • Size

Implements

  • Serializable

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Size(width: number, height: number): Size
  • Initializes a new instance of the Size class.

    Parameters

    • width: number

      The horizontal dimension.

    • height: number

      The vertical dimension.

    Returns Size

Properties

height

height: number

Gets or sets the vertical size.

width

width: number

Gets or sets the horizontal size.

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static Private create

  • Parameters

    Returns Size

Generated using TypeDoc