|
CurrentTextIndex
|
Returns the index into the Text property of the current text element and all of its childrens' text together.
|
|
CurrentTextPosition
|
Returns the current position to place the next character in the text
|
|
DX
|
Specifies the list of relative x-axis coordinates for each character in the text.
If a single <length> is provided, this value represents the new relative X coordinate for the current text position for rendering the glyphs corresponding to the first character within this element or any of its descendants. The current text position is shifted along the x-axis of the current user coordinate system by <length> before the first character's glyphs are rendered.
If a comma- or space-separated list of n <length>s is provided, then the values represent incremental shifts along the x-axis for the current text position before rendering the glyphs corresponding to the first n characters within this element or any of its descendants. Thus, before the glyphs are rendered corresponding to each character, the current text position resulting from drawing the glyphs for the previous character within the current ‘text’ element is shifted along the X axis of the current user coordinate system by <length>.
If more <length>s are provided than characters, then any extra <length>s will have no effect on glyph positioning.
If more characters exist than <length>s, then for each of these extra characters: (a) if an ancestor ‘text’ or ‘tspan’ element specifies a relative X coordinate for the given character via a ‘dx’ attribute, then the current text position is shifted along the x-axis of the current user coordinate system by that amount (nearest ancestor has precedence), else (b) no extra shift along the x-axis occurs.
If the attribute is not specified: (a) if an ancestor ‘text’ or ‘tspan’ element specifies a relative X coordinate for a given character via a ‘dx’ attribute, then the current text position is shifted along the x-axis of the current user coordinate system by that amount (nearest ancestor has precedence), else (b) no extra shift along the x-axis occurs.
|
|
DXStr
|
Provides a string representation of the FMX.RS.SVG.Text.TSVGCustomText.DX array property
|
|
DY
|
Specifies the list of relative y-axis coordinates for each character in the text.
The processing rules for the DY property parallel the processing rules for the FMX.RS.SVG.Text.TSVGCustomText.DY property.
|
|
DYStr
|
Provides a string representation of the FMX.RS.SVG.Text.TSVGCustomText.DY array property
|
|
InlineProgressionDirection
|
Returns the inline progression direction, i.e., what direction should the characters go as they are being drawn: left to right, right to left, or top to bottom?
|
|
LineText
|
Returns a string of the FMX.RS.SVG.Text.TSVGCustomText.Text of the current text element and all child text content elements
|
|
Rotate
|
Specifies the list of supplemental rotations to perform for each character in the text.
If a comma- or space-separated list of <number>s is provided, then the first <number> represents the supplemental rotation for the glyphs corresponding to the first character within this element or any of its descendants, the second <number> represents the supplemental rotation for the glyphs that correspond to the second character, and so on.
If more <number>s are provided than there are characters, then the extra <number>s will be ignored.
If more characters are provided than <number>s, then for each of these extra characters the rotation value specified by the last number must be used.
If the attribute is not specified and if an ancestor ‘text’ or ‘tspan’ element specifies a supplemental rotation for a given character via a ‘rotate’ attribute, then the given supplemental rotation is applied to the given character (nearest ancestor has precedence). If there are more characters than <number>s specified in the ancestor's ‘rotate’ attribute, then for each of these extra characters the rotation value specified by the last number must be used.
This supplemental rotation has no impact on the rules by which current text position is modified as glyphs get rendered and is supplemental to any rotation due to text on a path and to ‘glyph-orientation-horizontal’ or ‘glyph-orientation-vertical’.
|
|
RotateStr
|
Provides a string representation of the FMX.RS.SVG.Text.TSVGCustomText.Rotate array property
|
|
Text
|
Text or caption of the text element
|
|
TextHeight
|
Specifies the height of the text based on the current Font .
Note
|
The TextWidth and TextHeight properties are used for quick calculation of the BoundsRect property. There are set the first time the text element is drawn. If the TextWidth = -1, the TextWidth and TextHeight need to be recalculated because the text element has changed.
|
|
|
TextWidth
|
Specifies the width of the text based on the current Font .
Note
|
The TextWidth and TextHeight properties are used for quick calculation of the BoundsRect property. There are set the first time the text element is drawn. If the TextWidth = -1, the TextWidth and TextHeight need to be recalculated because the text element has changed.
|
|
|
X
|
Specifies the list of absolute x-axis coordinates for each character in the text.
If a single <coordinate> is provided, then the value represents the new absolute X coordinate for the current text position for rendering the glyphs that correspond to the first character within this element or any of its descendants.
If a comma- or space-separated list of n <coordinate>s is provided, then the values represent new absolute X coordinates for the current text position for rendering the glyphs corresponding to each of the first n characters within this element or any of its descendants.
If more <coordinate>s are provided than characters, then the extra <coordinate>s will have no effect on glyph positioning.
If more characters exist than <coordinate>s, then for each of these extra characters: (a) if an ancestor ‘text’ or ‘tspan’ element specifies an absolute X coordinate for the given character via an ‘x’ attribute, then that absolute X coordinate is used as the starting X coordinate for that character (nearest ancestor has precedence), else (b) the starting X coordinate for rendering the glyphs corresponding to the given character is the X coordinate of the resulting current text position from the most recently rendered glyph for the current ‘text’ element.
If the attribute is not specified: (a) if an ancestor ‘text’ or ‘tspan’ element specifies an absolute X coordinate for a given character via an ‘x’ attribute, then that absolute X coordinate is used (nearest ancestor has precedence), else (b) the starting X coordinate for rendering the glyphs corresponding to a given character is the X coordinate of the resulting current text position from the most recently rendered glyph for the current ‘text’ element.
|
|
XStr
|
Provides a string representation of the FMX.RS.SVG.Text.TSVGCustomText.X array property
|
|
Y
|
Specifies the list of absolute y-axis coordinates for each character in the text.
The processing rules for the Y property parallel the processing rules for the FMX.RS.SVG.Text.TSVGCustomText.X property.
|
|
YStr
|
Provides a string representation of the FMX.RS.SVG.Text.TSVGCustomText.Y array property
|