Options
All
  • Public
  • Public/Protected
  • All
Menu

Drawable data, including measurement data, markup data, etc.

Hierarchy

  • DrawableData

Index

Properties

fillColor?: number[]

Fill color is number array. e.g: [r, g, b, a]

id: string

id is used by business logic to manage(find, update, delete, etc.) drawables

lineColor?: number[]

Line color is number array. e.g: [r, g, b, a]

lineWidth?: number
points: number[][]

Two dimension float array stores 2d or 3d points. e.g., You can use "[[1, 1], [2.5, 3]]" to represent a distance measurement result, "[1, 1]" is the first point, and "[2.5, 3]" is the second point.

type: string

Drawable dta type

Generated using TypeDoc