WritingMode
API reference › HTML SVG › Values › WritingMode
Represents literal string values for the SVG writing-mode attribute.
Provides the keyword values used by the writing-mode attribute.
See also: Text::writingMode().
| Case | Value | Description |
|---|---|---|
HORIZONTAL_TB | 'horizontal-tb' | horizontal-tb - Horizontal writing mode, top to bottom. |
SIDEWAYS_LR | 'sideways-lr' | sideways-lr - Sideways writing mode, left to right (SVG2). |
SIDEWAYS_RL | 'sideways-rl' | sideways-rl - Sideways writing mode, right to left (SVG2). |
VERTICAL_LR | 'vertical-lr' | vertical-lr - Vertical writing mode, left to right. |
VERTICAL_RL | 'vertical-rl' | vertical-rl - Vertical writing mode, right to left. |