public class Layout
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Layout.Row |
| Modifier and Type | Field and Description |
|---|---|
static double |
BACK_EDGE_ARC_RADIUS |
java.util.List<java.lang.Integer> |
foldingPoints
List of folding points.
|
double |
height
Total height of the drawing.
|
java.util.List<Layout.Row> |
rows |
double |
width
The width of the drawing.
|
| Constructor and Description |
|---|
Layout(LinearLayout process,
double width,
double height,
java.util.List<java.lang.Integer> foldingPoints,
java.util.List<Layout.Row> rows,
double spineArcRadius) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Applies this layout to the blocks.
|
void |
apply(double xOffset,
double yOffset)
Same as apply() but with an offset.
|
public static final double BACK_EDGE_ARC_RADIUS
public double width
public double height
public java.util.List<java.lang.Integer> foldingPoints
public java.util.List<Layout.Row> rows
public Layout(LinearLayout process, double width, double height, java.util.List<java.lang.Integer> foldingPoints, java.util.List<Layout.Row> rows, double spineArcRadius)