Skip to content

Size

Structure representing a size.

The structure has a width and a height to specify a two-dimensional size.

Height value.

height: number

Width value.

width: number

Constructs a new size.

new Size(width: number, height: number)

width number

Width value.

height number

Height value.