Appearance
anim-format (runtime format) / textRunFont
Function: textRunFont()
ts
function textRunFont(base, style): TextStyle;the effective style of a run (base font + its overrides)
Parameters
| Parameter | Type |
|---|---|
base | { align: "left" | "center" | "right" | "justify"; bold: boolean; color: string; family: string; italic: boolean; size: number; } |
base.align | "left" | "center" | "right" | "justify" |
base.bold | boolean |
base.color | string |
base.family | string |
base.italic | boolean |
base.size | number |
style | AnimTextRunStyle | undefined |