Package | Description |
---|---|
org.stathissideris.ascii2image.graphics | |
org.stathissideris.ascii2image.text |
Modifier and Type | Method and Description |
---|---|
void |
DiagramShape.connectEndsToAnchors(TextGrid grid,
Diagram diagram) |
void |
CompositeDiagramShape.connectEndsToAnchors(TextGrid grid,
Diagram diagram) |
static DiagramShape |
DiagramShape.createArrowhead(TextGrid grid,
TextGrid.Cell cell,
int cellXSize,
int cellYSize) |
static DiagramComponent |
DiagramComponent.createClosedFromBoundaryCells(TextGrid grid,
CellSet cells,
int cellWidth,
int cellHeight) |
static DiagramComponent |
DiagramComponent.createClosedFromBoundaryCells(TextGrid grid,
CellSet cells,
int cellWidth,
int cellHeight,
boolean allRound) |
static DiagramComponent |
CompositeDiagramShape.createFromBoundaryCells(TextGrid grid,
CellSet boundaryCells,
int cellWidth,
int cellHeight) |
static DiagramComponent |
CompositeDiagramShape.createOpenFromBoundaryCells(TextGrid grid,
CellSet boundaryCells,
int cellWidth,
int cellHeight,
boolean allRound) |
static DiagramShape |
DiagramShape.createSmallLine(TextGrid grid,
TextGrid.Cell cell,
int cellXSize,
int cellYSize) |
protected static ShapePoint |
DiagramComponent.makePointForCell(TextGrid.Cell cell,
TextGrid grid,
int cellWidth,
int cellHeight,
boolean allRound) |
void |
DiagramShape.moveEndsToCellEdges(TextGrid grid,
Diagram diagram) |
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 | Class and Description |
---|---|
class |
GridPattern
This is a TextGrid (usually 3x3) that contains the equivalent of a
2D reqular expression (which uses custom syntax to make things more
visual, but standard syntax is also possible).
|
Modifier and Type | Method and Description |
---|---|
TextGrid |
AbstractionGrid.getAsTextGrid() |
TextGrid |
AbstractionGrid.getCopyOfInternalBuffer() |
TextGrid |
TextGrid.getSubGrid(int x,
int y,
int width,
int height) |
TextGrid |
TextGrid.getTestingSubGrid(TextGrid.Cell cell) |
TextGrid |
CellSet.makeIntoGrid() |
static TextGrid |
TextGrid.makeSameSizeAs(TextGrid grid) |
Modifier and Type | Method and Description |
---|---|
boolean |
TextGrid.add(TextGrid grid)
Adds grid to this.
|
boolean |
GridPatternGroup.areAllMatchedBy(TextGrid grid) |
ArrayList |
CellSet.breakIntoDistinctBoundaries(TextGrid grid)
Takes into account character info from the grid
|
ArrayList |
CellSet.breakTrulyMixedBoundaries(TextGrid grid)
Breaks that:
+-----+
| |
+ ---+-------------------
| |
+-----+
into the following 3:
+-----+
| |
+ +
| |
+-----+
---
-------------------
|
void |
TextGrid.copyCellsTo(CellSet cells,
TextGrid grid) |
boolean |
TextGrid.equals(TextGrid grid) |
CellSet |
CellSet.getFilledEquivalent(TextGrid textGrid) |
int |
CellSet.getType(TextGrid grid) |
boolean |
GridPatternGroup.isAnyMatchedBy(TextGrid grid) |
boolean |
GridPattern.isMatchedBy(TextGrid grid) |
static TextGrid |
TextGrid.makeSameSizeAs(TextGrid grid) |
static AbstractionGrid |
AbstractionGrid.makeUsingBuffer(TextGrid internalGrid)
Makes an AbstractionGrid using
internalGrid as
its internal buffer |
Constructor and Description |
---|
AbstractionGrid(TextGrid textGrid,
CellSet cellSet)
Makes an AbstractionGrid using the
cellSet
of textGrid . |
TextGrid(TextGrid otherGrid) |
Copyright © 2014. All Rights Reserved.