Class DiagramComponent
java.lang.Object
org.stathissideris.ascii2image.graphics.DiagramComponent
- Direct Known Subclasses:
CompositeDiagramShape
,DiagramShape
,DiagramText
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
DiagramComponent
public DiagramComponent()
-
-
Method Details
-
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)
-