public class CompositeDiagramShape extends DiagramComponent
| Constructor and Description |
|---|
CompositeDiagramShape() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToShapes(DiagramShape shape) |
void |
connectEndsToAnchors(TextGrid grid,
Diagram diagram) |
DiagramComponent |
connectLines()
Returns a new diagram component with the lines of
this CompositeDiagramShape connected.
|
static DiagramComponent |
createFromBoundaryCells(TextGrid grid,
CellSet boundaryCells,
int cellWidth,
int cellHeight) |
static DiagramComponent |
createOpenFromBoundaryCells(TextGrid grid,
CellSet boundaryCells,
int cellWidth,
int cellHeight,
boolean allRound) |
ArrayList |
getShapes() |
static void |
main(String[] args) |
void |
scale(float factor) |
createClosedFromBoundaryCells, createClosedFromBoundaryCells, makePointForCellpublic static void main(String[] args)
public static DiagramComponent createFromBoundaryCells(TextGrid grid, CellSet boundaryCells, int cellWidth, int cellHeight)
public static DiagramComponent createOpenFromBoundaryCells(TextGrid grid, CellSet boundaryCells, int cellWidth, int cellHeight, boolean allRound)
public DiagramComponent connectLines()
public void addToShapes(DiagramShape shape)
public void scale(float factor)
public ArrayList getShapes()
Copyright © 2017. All rights reserved.