Skip to main content

Interface: UppKonvaAreaSource

Defined in: upp-konva-source.ts:36

Area input from JSON or messaging: shapes in wire form; UppKonvaArea converts them to UppKonvaShape instances. orientation and mode are strings on the wire; the runtime normalizes them to UppKonvaOrientation and UppKonvaDrawMode where applicable.

Properties

height

height: number

Defined in: upp-konva-source.ts:38


labelSize?

optional labelSize?: string

Defined in: upp-konva-source.ts:49

Label badge text scale. On the wire this is usually a string; the model parses it to SMALL | NORMAL | LARGE.


marginPx?

optional marginPx?: number

Defined in: upp-konva-source.ts:52


mode?

optional mode?: string

Defined in: upp-konva-source.ts:45

When omitted, the area uses SHAPES. Canonical type: UppKonvaDrawMode.


name?

optional name?: string

Defined in: upp-konva-source.ts:39


orientation?

optional orientation?: string

Defined in: upp-konva-source.ts:43

When omitted, UppKonvaArea uses AUTO. Canonical type: UppKonvaOrientation.


pixelRatioMax?

optional pixelRatioMax?: number

Defined in: upp-konva-source.ts:53


schemaVersion?

optional schemaVersion?: number

Defined in: upp-konva-source.ts:55

Document schema version (migrations).


shapes

shapes: readonly UppKonvaShapeSource[]

Defined in: upp-konva-source.ts:56


viewZoom?

optional viewZoom?: number

Defined in: upp-konva-source.ts:51

Framing preferences (document / host); optional.


width

width: number

Defined in: upp-konva-source.ts:37