Skip to content

charton API


charton API / @chart-on/core / index / drawingWeight

Function: drawingWeight() ​

drawingWeight(env): FontWeight

Defined in: packages/core/src/drawing/draw.ts:105

Weight of drawing text that is not bold: the theme's drawings font weight.

Parameters ​

env ​

Pick<DrawingEnv, "theme">

Returns ​

FontWeight