gewel.draw.TextVerticalPosition

class gewel.draw.TextVerticalPosition(value)[source]

Bases: enum.Enum

An enumeration for specifying the vertical position of text.

Attributes

TOP

Text appears at the top.

MIDDLE

Text appears in the middle.

BOTTOM

Text appears at the botton.

BOTTOM = 3

Text appears at the botton.

MIDDLE = 2

Text appears in the middle.

TOP = 1

Text appears at the top.