Skip to content
pixi-silk
GitHub repository
Type

TextDirection

import type { TextDirection } from 'pixi-silk/text/bidi';
type TextDirection = "ltr" | "rtl" | "auto";

Base direction of a paragraph. auto takes it from the first strong character, left to right when there is none.