Appearance
anim-format (runtime format) / VerticalPiece
Interface: VerticalPiece
Vertical (CJK) text layout, writingMode: "vertical" — CSS vertical-rl with text-orientation: mixed: characters run top to bottom, columns right to left from the box's right edge; CJK characters stand upright (punctuation as its vertical presentation form), other runs (Latin words, digits) are turned 90° clockwise. Pure: the caller measures text widths. Shared by the editor's renderer, its SVG export and pixi-hm05.
Properties
| Property | Type | Description |
|---|---|---|
advance | number | upright: the slot of one character (size + letter spacing) |
cx | number | the column's centre line |
length | number | length along the column |
style | TextStyle | - |
text | string | the characters; upright pieces already hold their vertical forms |
upright | boolean | true = CJK, one character per advance; false = turned 90° clockwise |
y | number | top of the piece along the column |