The graphics to draw the shape into.
The shape to draw or a draw callback.
Optionaloptions: { alignment?: number; clear?: boolean; color?: ColorSource; dashed?: boolean } = {}Additional options.
Optionalalignment?: numberThe alignment of the outline. Default: 0.5.
Optionalclear?: booleanClear the graphics before drawing the border? Default: 0.5.
Optionalcolor?: ColorSourceThe border color. Default: 0xFFFFFF.
Optionaldashed?: booleanDashed border? Default: false.
Draw a border.