lineStyleToDash
Documentation / @elitechart/core / lineStyleToDash
Defined in: drawing/types.ts:97
Convert a LineStyle preset to the canvas dash array. Returns
undefined when style is undefined so callers can pass through
to setLineDash without branching.
Parameters
style
LineStyle | undefined
Returns
readonly number[] | undefined