Skip to content

IAnnotatorIcon

Type interfaceSince 5.25.0

An icon the annotator's icon tool can place.

Sources

IAnnotatorIcon is an interface: it describes a shape of data and is not imported on its own.

Properties

centerX

Type undefined | numberDefault 0.5

The point of the icon placed on the clicked spot, across: 0 is its left edge, 1 its right.

centerY

Type undefined | numberDefault 0.5

The point of the icon placed on the clicked spot, down: 0 is its top edge, 1 its bottom.

fillDisabled

Type undefined | false | true

Drawn as an outline only.

svgPath

Type string

SVG path of the icon, drawn in a 50 by 50 box.