public class ProcessLayouter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessLayouter.RowHeight |
| Modifier and Type | Field and Description |
|---|---|
static double |
BACK_EDGE_ARC_RADIUS |
static double |
BACK_EDGE_BLOCK_MARGIN |
static double |
BACK_EDGE_HEIGHT |
static double |
MIN_BACKEDGE_DIST_FROM_ROW_CENTER |
static double |
MIN_HALF_ROW_HEIGHT_LAST_ROW |
| Constructor and Description |
|---|
ProcessLayouter() |
| Modifier and Type | Method and Description |
|---|---|
static ProcessLayouter.RowHeight |
computeRowHeight(LinearLayout process,
double width,
int from,
int to,
boolean reversed)
Computes the height of a row.
|
static Layout |
layout(LinearLayout process,
double width,
double spineArcRadius) |
public static final double BACK_EDGE_ARC_RADIUS
public static final double BACK_EDGE_HEIGHT
public static final double MIN_BACKEDGE_DIST_FROM_ROW_CENTER
public static final double MIN_HALF_ROW_HEIGHT_LAST_ROW
public static final double BACK_EDGE_BLOCK_MARGIN
public static Layout layout(LinearLayout process, double width, double spineArcRadius)
public static ProcessLayouter.RowHeight computeRowHeight(LinearLayout process, double width, int from, int to, boolean reversed)
rects - The list of rectangles.width - The width to draw this row in.from - From index (inclusive).to - To index (exclusive).