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 5, 2026 at 11:47 AMEdit this page