borland Packages Class Hierarchy dx.text Package
com.borland.dx.text.Alignment
Variables
The Alignment component provides general-purpose two-dimensional alignment constants for aligning an object within a rectangular container. The constants are divided into the following groups. You can select none or one (the maximum) per group:
Horizontal alignment:
Vertical alignment:
public static final int ALL = LEFT|CENTER|RIGHT|HSTRETCH|TOP|MIDDLE|BOTTOM|VSTRETCH|VERTICAL|HORIZONTALAll Alignment constants.
public static final int BOTTOM = 0x30A vertical alignment constant. Aligns vertically along the bottom of the container.
public static final int CENTER = 0x02A horizontal alignment constant. Centers horizontally within the container object.
public static final int HORIZONTAL = 0x0FUsed to programmatically filter out the set of vertical alignment bits, leaving only the horizontal alignment.
public static final int HSTRETCH = 0x04A horizontal alignment constant. Aligns horizontally between the left and right edges of the container, stretching as necessary.
public static final int LEFT = 0x01A horizontal alignment constant. Aligns to the horizontal left of the container.
public static final int MIDDLE = 0x20A vertical alignment constant. Aligns in the vertical middle of the container.
public static final int RIGHT = 0x03A horizontal alignment constant. Aligns horizontally along the right edge of the container.
public static final int TOP = 0x10A vertical alignment constant. Aligns along the top of the container.
public static final int UNDEFINED = 0x00No alignment constant is defined.
public static final int VERTICAL = 0xF0Used to programmatically filter out the set of horizontal alignment bits, leaving only the vertical alignment.
public static final int VSTRETCH = 0x40A vertical alignment constant. Aligns vertically between the top and bottom of the container, stretching if necessary.