org.stathissideris.ascii2image.graphics
Class DiagramComponent

java.lang.Object
  extended by org.stathissideris.ascii2image.graphics.DiagramComponent
Direct Known Subclasses:
CompositeDiagramShape, DiagramShape, DiagramText

public abstract class DiagramComponent
extends Object

Author:
Efstathios Sideris

Constructor Summary
DiagramComponent()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramComponent

public DiagramComponent()
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)


Copyright © 2013. All Rights Reserved.