AlignmentBaseline Enum

AlignmentBaseline enumeration

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

public enum AlignmentBaseline

Values

NameValueDescription
Baseline0Aligns the baseline of the box with the baseline of the parent box.
TextBottom1Aligns the bottom of the box with the bottom of the parent’s content area.
Middle2Aligns the middle of the box with the middle of the parent’s content area.
Central3Aligns the central baseline of the box with the central baseline of the parent box.
TextTop4Aligns the top of the box with the top of the parent’s content area.
Ideographic5Aligns the box’s ideographic baseline with the parent’s ideographic baseline.
Alphabetic6Aligns the box’s alphabetic baseline with the parent’s alphabetic baseline.
Mathematical7Aligns 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