🚀 8.9 Released! → ⚡️ New Node-API Engine Preview, 📲 ns widget ios, 💅 Tailwind v4 and more...
Read Announcement
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.