Class DiagramComponent
- java.lang.Object
-
- org.stathissideris.ascii2image.graphics.DiagramComponent
-
- Direct Known Subclasses:
CompositeDiagramShape
,DiagramShape
,DiagramText
public abstract class DiagramComponent extends java.lang.Object
- Author:
- Efstathios Sideris
-
-
Constructor Summary
Constructors Constructor Description DiagramComponent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiagramComponent
createClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight)
static DiagramComponent
createClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight, boolean allRound)
protected static ShapePoint
makePointForCell(TextGrid.Cell cell, TextGrid grid, int cellWidth, int cellHeight, boolean allRound)
-
-
-
Method Detail
-
makePointForCell
protected static ShapePoint makePointForCell(TextGrid.Cell cell, TextGrid grid, int cellWidth, int cellHeight, boolean allRound)
-
createClosedFromBoundaryCells
public static DiagramComponent createClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight)
-
createClosedFromBoundaryCells
public static DiagramComponent createClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight, boolean allRound)
-
-