8.7 released—WinterCG Compliance Part 1
Learn more
Size
interface Size {
  height: number;
  width: number;
}
The Size interface describes abstract dimensions in two dimensional space. It has two properties width and height, representing the width and height values of the size.

Summary

Properties

height
width

Properties

height

height: number
Represents the height of the size.

width

width: number
Represents the width of the size.