Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Bounds

sprotty-protocol / Bounds

Interface: Bounds

Defined in: utils/geometry.ts:233

The bounds are the position (x, y) and dimension (width, height) of an object.

Extends

Properties

height

readonly height: number

Defined in: utils/geometry.ts:208

Inherited from

Dimension.height


width

readonly width: number

Defined in: utils/geometry.ts:207

Inherited from

Dimension.width


x

readonly x: number

Defined in: utils/geometry.ts:23

Inherited from

Point.x


y

readonly y: number

Defined in: utils/geometry.ts:24

Inherited from

Point.y