DominantBaseline
API reference › HTML SVG › Values › DominantBaseline
Represents literal string values for the SVG dominant-baseline attribute.
Provides the keyword values used by the dominant-baseline attribute.
See also: Text::dominantBaseline().
| Case | Value | Description |
|---|---|---|
ALPHABETIC | 'alphabetic' | alphabetic - Uses the alphabetic baseline. |
AUTO | 'auto' | auto - Uses the computed baseline for the script to which the character belongs. |
CENTRAL | 'central' | central - Uses the central baseline. |
HANGING | 'hanging' | hanging - Uses the hanging baseline. |
IDEOGRAPHIC | 'ideographic' | ideographic - Uses the ideographic baseline. |
MATHEMATICAL | 'mathematical' | mathematical - Uses the mathematical baseline. |
MIDDLE | 'middle' | middle - Uses the middle baseline. |
TEXT_BOTTOM | 'text-bottom' | text-bottom - Uses the bottom of the em box as the baseline. |
TEXT_TOP | 'text-top' | text-top - Uses the top of the em box as the baseline. |