public class Diagram
extends java.lang.Object
Constructor and Description |
---|
Diagram(TextGrid grid,
ConversionOptions options,
ProcessingOptions processingOptions)
An outline of the inner workings of this very important (and monstrous)
constructor is presented here.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
getAllDiagramShapes()
Returns a list of all DiagramShapes in the Diagram, including
the ones within CompositeDiagramShapes
|
TextGrid.Cell |
getCellFor(ShapePoint point) |
int |
getCellHeight() |
int |
getCellMaxX(TextGrid.Cell cell) |
static int |
getCellMaxX(TextGrid.Cell cell,
int cellXSize) |
int |
getCellMaxY(TextGrid.Cell cell) |
static int |
getCellMaxY(TextGrid.Cell cell,
int cellYSize) |
int |
getCellMidX(TextGrid.Cell cell) |
static int |
getCellMidX(TextGrid.Cell cell,
int cellXSize) |
int |
getCellMidY(TextGrid.Cell cell) |
static int |
getCellMidY(TextGrid.Cell cell,
int cellYSize) |
int |
getCellMinX(TextGrid.Cell cell) |
static int |
getCellMinX(TextGrid.Cell cell,
int cellXSize) |
int |
getCellMinY(TextGrid.Cell cell) |
static int |
getCellMinY(TextGrid.Cell cell,
int cellYSize) |
int |
getCellWidth() |
java.util.ArrayList |
getCompositeShapes() |
int |
getHeight() |
float |
getMinimumOfCellDimension() |
java.util.ArrayList |
getShapes() |
java.util.Iterator |
getShapesIterator() |
java.util.ArrayList |
getTextObjects() |
int |
getWidth() |
public Diagram(TextGrid grid, ConversionOptions options, ProcessingOptions processingOptions)
An outline of the inner workings of this very important (and monstrous) constructor is presented here. Boundary processing is the first step of the process:
At this stage, the boundary processing is all complete and we proceed with using those boundaries to create the shapes:
Finally, the text processing occurs: [pending]
grid
- cellWidth
- cellHeight
- public java.util.ArrayList getAllDiagramShapes()
public float getMinimumOfCellDimension()
public java.util.Iterator getShapesIterator()
public int getHeight()
public int getWidth()
public int getCellWidth()
public int getCellHeight()
public java.util.ArrayList getCompositeShapes()
public java.util.ArrayList getShapes()
public int getCellMinX(TextGrid.Cell cell)
public static int getCellMinX(TextGrid.Cell cell, int cellXSize)
public int getCellMidX(TextGrid.Cell cell)
public static int getCellMidX(TextGrid.Cell cell, int cellXSize)
public int getCellMaxX(TextGrid.Cell cell)
public static int getCellMaxX(TextGrid.Cell cell, int cellXSize)
public int getCellMinY(TextGrid.Cell cell)
public static int getCellMinY(TextGrid.Cell cell, int cellYSize)
public int getCellMidY(TextGrid.Cell cell)
public static int getCellMidY(TextGrid.Cell cell, int cellYSize)
public int getCellMaxY(TextGrid.Cell cell)
public static int getCellMaxY(TextGrid.Cell cell, int cellYSize)
public TextGrid.Cell getCellFor(ShapePoint point)
public java.util.ArrayList getTextObjects()
Copyright © 2020. All Rights Reserved.