Package com.badlogic.gdx.utils
Class Align
- java.lang.Object
-
- com.badlogic.gdx.utils.Align
-
public class Align extends java.lang.ObjectProvides bit flag constants for alignment.
-
-
Field Summary
Fields Modifier and Type Field Description static intbottomstatic intbottomLeftstatic intbottomRightstatic intcenterstatic intleftstatic intrightstatic inttopstatic inttopLeftstatic inttopRight
-
Constructor Summary
Constructors Constructor Description Align()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisBottom(int align)static booleanisCenterHorizontal(int align)static booleanisCenterVertical(int align)static booleanisLeft(int align)static booleanisRight(int align)static booleanisTop(int align)static java.lang.StringtoString(int align)
-
-
-
Field Detail
-
center
public static final int center
- See Also:
- Constant Field Values
-
top
public static final int top
- See Also:
- Constant Field Values
-
bottom
public static final int bottom
- 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
-
topLeft
public static final int topLeft
- See Also:
- Constant Field Values
-
topRight
public static final int topRight
- See Also:
- Constant Field Values
-
bottomLeft
public static final int bottomLeft
- See Also:
- Constant Field Values
-
bottomRight
public static final int bottomRight
- See Also:
- Constant Field Values
-
-
Method Detail
-
isLeft
public static final boolean isLeft(int align)
-
isRight
public static final boolean isRight(int align)
-
isTop
public static final boolean isTop(int align)
-
isBottom
public static final boolean isBottom(int align)
-
isCenterVertical
public static final boolean isCenterVertical(int align)
-
isCenterHorizontal
public static final boolean isCenterHorizontal(int align)
-
toString
public static java.lang.String toString(int align)
-
-