Interface: CustomSymbolDefinition
A custom marker symbol for symbols.register.
Properties
| Property | Type | Description |
|---|---|---|
anchor? | readonly [number, number] | The point of the viewBox placed at the data point. Default: the viewBox center. |
fillRule? | "evenodd" | "nonzero" | SVG / canvas fill rule of the path. Default 'nonzero'. |
path | string | SVG path data (the d attribute) in viewBox coordinates (y down, like SVG). |
viewBox? | string | readonly [number, number, number, number] | The path's coordinate box [minX, minY, width, height] (or the SVG attribute string). Its larger side spans the marker's size, like the built-in square. Default [0, 0, 24, 24], the common icon grid. |