AlignmentBaseline enumeration

AlignmentBaseline enumeration

Specifies the alignment baseline for text and other inline content in SVG.

The AlignmentBaseline type exposes the following members:

Fields

FieldDescription
BASELINEAligns the baseline of the box with the baseline of the parent box.
TEXT_BOTTOMAligns the bottom of the box with the bottom of the parent’s content area.
MIDDLEAligns the middle of the box with the middle of the parent’s content area.
CENTRALAligns the central baseline of the box with the central baseline of the parent box.
TEXT_TOPAligns the top of the box with the top of the parent’s content area.
IDEOGRAPHICAligns the box’s ideographic baseline with the parent’s ideographic baseline.
ALPHABETICAligns the box’s alphabetic baseline with the parent’s alphabetic baseline.
MATHEMATICALAligns the box’s mathematical baseline with the parent’s mathematical baseline.

Remarks

The ‘alignment-baseline’ property is defined in the CSS Line Layout Module 3 specification. SVG 2 introduces changes to the definition of this property.

See Also