Specifies whether the initial inline-progression-direction for a ‘text’ element shall be left-to-right, right-to-left, or top-to-bottom. The ‘writing-mode’ property applies only to ‘text’ elements; the property is ignored for ‘tspan’, ‘tref’, ‘altGlyph’ and ‘textPath’ sub-elements.
Namespace: RSSVGTypes
Delphi
|
type
TSVGWritingMode = ( wmNone,
wmLeftRight_TopBottom,
wmRightLeft_TopBottom,
wmTopBottom_RightLeft,
wmLeftRight,
wmRightLeft,
wmTopBottom );
|
|
Name
|
Description
|
|
wmLeftRight
|
Sets the initial inline-progression-direction to left-to-right, as is common in most Latin-based documents. For most characters, the current text position is advanced from left to right after each glyph is rendered.
|
|
wmLeftRight_TopBottom
|
Sets the initial inline-progression-direction to left-to-right, as is common in most Latin-based documents. For most characters, the current text position is advanced from left to right after each glyph is rendered.
|
|
wmNone
|
Represents constant wmNone.
|
|
wmRightLeft
|
Sets the initial inline-progression-direction to right-to-left, as is common in Arabic or Hebrew scripts.
|
|
wmRightLeft_TopBottom
|
Sets the initial inline-progression-direction to right-to-left, as is common in Arabic or Hebrew scripts.
|
|
wmTopBottom
|
Sets the initial inline-progression-direction to top-to-bottom, as is common in some Asian scripts, such as Chinese and Japanese. Though hardly as frequent as horizontal, this type of vertical layout also occurs in Latin based documents, particularly in table column or row labels. In most cases, the vertical baselines running through the middle of each glyph are aligned.
|
|
wmTopBottom_RightLeft
|
Represents constant wmTopBottom_RightLeft.
|
Top
|