Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVG.Text > Classes > TSVGCustomTextContentChild > Methods

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

Scroll Prev Top Next More

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

Parameters

TextElement

Type: TSVGCustomText

Canvas

Type: System.Void

aChar

Type: Char

CharPath

Type: System.Void

Return Value

Type: TSVGPoint

Overrides

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

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb