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: September 11, 2026 at 12:08 PMEdit this page