Class DiagramComponent
java.lang.Object
org.stathissideris.ascii2image.graphics.DiagramComponent
- Direct Known Subclasses:
CompositeDiagramShape,DiagramShape,DiagramText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiagramComponentcreateClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight) static DiagramComponentcreateClosedFromBoundaryCells(TextGrid grid, CellSet cells, int cellWidth, int cellHeight, boolean allRound) protected static ShapePointmakePointForCell(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)
-