Enum TextBaseline
Specifies the vertical alignment of text relative to the drawing position.
Mirrors the textBaseline property in the HTML5 Canvas 2D API.
public enum TextBaseline
Fields
Alphabetic = 3The alphabetic baseline (default for Latin scripts) is aligned with the drawing position.
Bottom = 5The bottom of the em box is aligned with the drawing position.
Hanging = 1The hanging baseline is aligned with the drawing position (used in some scripts like Devanagari).
Ideographic = 4The ideographic baseline is aligned with the drawing position (used in scripts like Chinese or Japanese).
Middle = 2The middle of the text (roughly half the em height) is aligned with the drawing position.
Top = 0The top of the em box is aligned with the drawing position.