DrawingStyle
Documentation / @elitechart/core / DrawingStyle
Defined in: drawing/types.ts:69
Visual styling hooks for drawings. The chart resolves these from the
theme at render time; per-drawing overrides ride on
DrawingInstance.styleOverride.
Example
Properties
color
Defined in: drawing/types.ts:70
fillColor
Defined in: drawing/types.ts:72
font
Defined in: drawing/types.ts:74
hitTolerance
Defined in: drawing/types.ts:76
Pixel tolerance for hit-testing lines / edges.
lineStyle?
Defined in: drawing/types.ts:83
Optional line-style override. When present on a per-drawing
styleOverride, the tool's primary stroke adopts the pattern. Tools with
semantic dashing (horizontal/vertical lines, Fib levels) keep their
intrinsic style unless they opt in.
lineWidth
Defined in: drawing/types.ts:71
textColor
Defined in: drawing/types.ts:73