Size

Represents dimensions with width and height.

Size interface

Represents dimensions with width and height.

Signature:

interface Size

Example

const size: Size = { width: 100, height: 100 };

Properties

Property

Modifiers

Type

Description

height

number

Height

width

number

Width

Last updated: August 13, 2026 at 9:17 AMEdit this page