Text Descent
Calculates the descent below baseline in pixels of text Syntax
descent = Text Descent Description
Calculates the number of pixels below the baseline that text could descend to when drawn with the Draw Text command. The y value passed to the 'Draw Text' command represents the baseline of the text being drawn; however the text descends by up to descent pixels below the baseline due to letters like y, g, j, p and q. If text was to be drawn at a point (x,y), then the box it would occupy could be calculated with: bottom = y + Text Descent top = bottom - Text Height leftSide = x rightSide = leftSide + Text Width ("this string") See also: The Text Width, Text Height and Draw Text commands.
Table of contents