Class AspectRatio

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

Constructors

Properties

Constructors

Properties

height: number = 1.0

Height component of the aspect ratio.

Default is 1.0

width: number = 1.0

Width component of the aspect ratio.

Default is 1.0