AggPas - Anti-Grain Geomertry for Object Pascal

TAggTextAlignment

Description

TAggTextAlignment defines how the string of text will be aligned around the Text Origin when rendering.

Illustration of text alignment

Constant Values

AGG_AlignLeft

Text on X axis runs to the Right from the Text Origin [default].

AGG_AlignRight

Text on X axis runs to the Left from the Text Origin.

AGG_AlignCenter

Text on X axis runs equally to both sides from the Text origin.

Text is on Y axis positioned in the middle of the Top and Base Line of the text.

AGG_AlignTop

Text is on Y axis positioned to the Top of the text.

AGG_AlignBottom

Text is on Y axis positioned to the Base Line of the text [default].