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

Interface. Viewport Root Element

sprotty-protocol / ViewportRootElement

Interface: ViewportRootElement

Defined in: model.ts:42

Usually the root of a model is also a viewport.

Extends

Extended by

Properties

canvasBounds?

optional canvasBounds: Bounds

Defined in: model.ts:35

Inherited from

SModelRoot.canvasBounds


children?

optional children: SModelElement[]

Defined in: model.ts:27

Inherited from

SModelRoot.children


cssClasses?

optional cssClasses: string[]

Defined in: model.ts:28

Inherited from

SModelRoot.cssClasses


id

id: string

Defined in: model.ts:26

Inherited from

SModelRoot.id


position?

optional position: Point

Defined in: model.ts:135

Inherited from

Locateable.position


revision?

optional revision: number

Defined in: model.ts:36

Inherited from

SModelRoot.revision


scroll?

optional scroll: Point

Defined in: model.ts:111

Inherited from

Viewport.scroll


size?

optional size: Dimension

Defined in: model.ts:142

Inherited from

BoundsAware.size


type

type: string

Defined in: model.ts:25

Inherited from

SModelRoot.type


zoom?

optional zoom: number

Defined in: model.ts:123

Inherited from

Viewport.zoom