Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Size

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Size(width: number, height: number, widthUnit?: string, heightUnit?: string): Size
  • Two-dimensional size.

    see

    Maps JavaScript API

    Parameters

    • width: number

      the distance on the x-axis

    • height: number

      the distance on the y-axis

    • Optional widthUnit: string
    • Optional heightUnit: string

    Returns Size

Properties

height

height: number

The height along the y-axis, in pixels.

see

Maps JavaScript API

width

width: number

The width along the x-axis, in pixels.

see

Maps JavaScript API

Methods

equals

  • equals(other: Size): boolean

toString

  • toString(): string

Generated using TypeDoc