Skip to main content

BaseAlign

Enum representing the different baseline text alignments

Index

Enumeration Members

Alphabetic

Alphabetic: alphabetic

The text baseline is the normal alphabetic baseline.

Bottom

Bottom: bottom

The text baseline is the bottom of the bounding box. This differs from the ideographic baseline in that the ideographic baseline doesn't consider descenders.

Hanging

Hanging: hanging

The text baseline is the hanging baseline. Currently unsupported; this will act like alphabetic.

Ideographic

Ideographic: ideographic

The text baseline is the ideographic baseline; this is the bottom of the body of the characters, if the main body of characters protrudes beneath the alphabetic baseline. Currently unsupported; this will act like alphabetic.

Middle

Middle: middle

The text baseline is the middle of the em square.

Top

Top: top

The text baseline is the top of the em square.