This wiki is out of date, use the continuation of this wiki instead

Alignment modes

From FenixWiki

(Redirected from Alignment)
Jump to: navigation, search


[edit] Definition

Alignment modes are modes which indicate how a graphic or text will be aligned relative to its center.

In Fenix versions prior to 0.93, the constants are not available and have to be declared or defined manually. Alternatively the values themselves can be used.

[edit] List

Constant - Value
ALIGN_TOP_LEFT - 0
ALIGN_TOP - 1
ALIGN_TOP_RIGHT - 2
ALIGN_CENTER_LEFT - 3
ALIGN_CENTER - 4
ALIGN_CENTER_RIGHT - 5
ALIGN_BOTTOM_LEFT - 6
ALIGN_BOTTOM - 7
ALIGN_BOTTOM_RIGHT - 8
Personal tools