Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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.