Promotic
WikipediaLinkedInYoutubeTwitterFacebook

textBaseline - property of object CanvasCtx

Description:
Vertical alignment of the text.
Syntax:
textBaseline As String
Calling:
ctx.textBaseline = "middle";
Values:
alphabetic (default) - The lower edge of the text(A, a ...) is touching the imagined line
top - The upper edge of the text (A, B ...) is under the imagined line
hanging - The upper edge of the text (a, c ...) is under the imagined line
middle - The imagined line goes through the center of the text block
ideographic - Ideographic text display.
bottom - The lower edge of the text (g, j, y ...) is touching the imagined line
Note:
Property access for read and write. This property is also functional for Web Panels.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice