Skip to main content
Version: 4.x

Type Alias: MeasurementOptions

MeasurementOptions: object

Measurement tool option with user custom callback, line width & color.

Type declaration

color?

optional color: Color

Line color in 32 bit hex.

distanceToLabelCallback?

optional distanceToLabelCallback: DistanceToLabelDelegate

lineWidth?

optional lineWidth: number

Line width in cm. Note that the minium drawn line will be ~2 pixels.

Defined in

packages/tools/src/Measurement/types.ts:37