Skip to content
pixi-silk
GitHub repository
Type

InlineSize

import type { InlineSize } from 'pixi-silk/text';
type InlineSize = number | "em" | "cap" | "line";

A size for an inline object: local units, or a size that follows the font. em is the font size, cap the height of capital letters and digits, line the line height.