org.faceless.graph2
Class Align
java.lang.Object
org.faceless.graph2.Align
public final class Align
- extends Object
A non-instantiable class containing several constants dealing with alignments.
Alignments are made up of various bits, stored in an integer, which may be bitwise-ORed
together. So, for example, to align something to the top-left, you could set
int align = Align.TOP | Align.LEFT
. Following the standard set by CSS2 and HTML,
CENTER
means horizontally centered, and MIDDLE
means vertically
centered.
TOP
public static final int TOP
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
MIDDLE
public static final int MIDDLE
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
Copyright © 2001-2011 Big Faceless Organization