Aspect ratio is the ratio of the width to the height of an image or screen.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

height: number

Height component of the aspect ratio.

Default is 1.0

width: number

Width component of the aspect ratio.

Default is 1.0

Methods

  • Parameters

    Returns {
        height?: number;
        width?: number;
        serialize?: any;
    }

    • Optional Readonly height?: number

      Height component of the aspect ratio.

      Default is 1.0

    • Optional Readonly width?: number

      Width component of the aspect ratio.

      Default is 1.0