Hide Comments
Hide Comments

TSVGTextPath.GetBaseline(TSVGCustomText,TSVGCanvas,Char,TSVGShapePath) Method

Comments (0)

Returns the baseline of the character based on the element's Font property. The baseline refers to the alignment point for the characters in a string of text. In horizontal writing-modes, the glyphs of a given script are positioned so that a particular point on each glyph, the alignment-point, is aligned with the alignment-points of the other glyphs in that script. The glyphs of different scripts, for example, Western, Northern Indic and Far-Eastern scripts, are typically aligned at different points on the glyph. For example, Western glyphs are aligned on the bottoms of the capital letters, northern indic glyphs are aligned at the top of a horizontal stroke near the top of the glyphs and far-eastern glyphs are aligned either at the bottom or center of the glyph.

All text elements and their children share the same baseline, even if the font or font size change.

Namespace: RSSVG.Text

expandingSyntax

Parameters

TextElement

Type: TSVGCustomText

Canvas

Type: System.Void

aChar

Type: Char

CharPath

Type: System.Void

Return Value

Type: TSVGPoint

Overrides

TSVGCustomTextContentChild.GetBaseline(TSVGCustomText,TSVGCanvas,Char,TSVGShapePath)
 

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb