Class DiagramComponent
- java.lang.Object
-
- org.stathissideris.ascii2image.graphics.DiagramComponent
-
- Direct Known Subclasses:
CompositeDiagramShape,DiagramShape,DiagramText
public abstract class DiagramComponent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DiagramComponent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
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)
-
-