Options for drawing the circle.

interface DrawOptions {
    dashed?: boolean;
    dashPattern?: number[];
    fillColor?: string;
    lineWidth?: number;
    strokeColor?: string;
}

Properties

dashed?: boolean

Whether to use a dashed stroke. Default is false (solid stroke).

dashPattern?: number[]

The pattern for dashed lines, defined as an array of numbers where the even indices represent lengths of dashes and odd indices represent lengths of gaps. Default is [5, 5].

fillColor?: string

The fill color of the circle. Default is transparent (no fill).

lineWidth?: number

The width of the stroke. Default is 1.

strokeColor?: string

The stroke color of the circle. Default is red.