Skip to content

TEXT_HALO_MITER_LIMIT

const TEXT_HALO_MITER_LIMIT: 4 = 4

Defined in: core/backend.ts:429

The miter limit of every label halo: Canvas miterLimit, SVG stroke-miterlimit and the WebGL overlay’s CSS. Halos join miter on every backend because Chromium strokes HTML text with miter joins at this limit and ignores stroke-linejoin there, so the overlay can’t draw any other join (#571).