Package cz.vutbr.fit.layout.bcs.impl
Class SimplePattern
- java.lang.Object
-
- cz.vutbr.fit.layout.bcs.impl.SimplePattern
-
public class SimplePattern extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNMENT_BOTTOM
static int
ALIGNMENT_LEFT
static int
ALIGNMENT_NONE
static int
ALIGNMENT_RIGHT
static int
ALIGNMENT_TOP
-
Constructor Summary
Constructors Constructor Description SimplePattern(ArrayList<PageArea> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate()
double
getHeightRatio(PageArea a, PageArea b)
double
getWidthRatio(PageArea a, PageArea b)
boolean
match(PageArea a)
-
-
-
Field Detail
-
ALIGNMENT_NONE
public static final int ALIGNMENT_NONE
- See Also:
- Constant Field Values
-
ALIGNMENT_TOP
public static final int ALIGNMENT_TOP
- See Also:
- Constant Field Values
-
ALIGNMENT_BOTTOM
public static final int ALIGNMENT_BOTTOM
- See Also:
- Constant Field Values
-
ALIGNMENT_LEFT
public static final int ALIGNMENT_LEFT
- See Also:
- Constant Field Values
-
ALIGNMENT_RIGHT
public static final int ALIGNMENT_RIGHT
- See Also:
- Constant Field Values
-
-