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?
optionallabelSize?: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?
optionalmarginPx?:number
Defined in: upp-konva-source.ts:52
mode?
optionalmode?:string
Defined in: upp-konva-source.ts:45
When omitted, the area uses SHAPES. Canonical type: UppKonvaDrawMode.
name?
optionalname?:string
Defined in: upp-konva-source.ts:39
orientation?
optionalorientation?:string
Defined in: upp-konva-source.ts:43
When omitted, UppKonvaArea uses AUTO. Canonical type: UppKonvaOrientation.
pixelRatioMax?
optionalpixelRatioMax?:number
Defined in: upp-konva-source.ts:53
schemaVersion?
optionalschemaVersion?:number
Defined in: upp-konva-source.ts:55
Document schema version (migrations).
shapes
shapes: readonly
UppKonvaShapeSource[]
Defined in: upp-konva-source.ts:56
viewZoom?
optionalviewZoom?:number
Defined in: upp-konva-source.ts:51
Framing preferences (document / host); optional.
width
width:
number
Defined in: upp-konva-source.ts:37