Skip to content
pixi-silk
GitHub repository
Interface

ThemeLine

import type { ThemeLine } from 'pixi-silk/i18n';

A line under or through the glyphs.

Properties#

PropertyTypeDescriptionDefined in
color?stringCSS hex colour. Default the fill.packages/pixi-silk/src/i18n/theme.ts:47
offset?numberDistance below the baseline (underline) or above it (strike), in em. Default 0.12 and 0.3.packages/pixi-silk/src/i18n/theme.ts:45
thickness?numberThickness in em. Default 0.06.packages/pixi-silk/src/i18n/theme.ts:43