Package | Description |
---|---|
org.stathissideris.ascii2image.graphics |
Modifier and Type | Method and Description |
---|---|
void |
DiagramShape.connectEndsToAnchors(TextGrid grid,
Diagram diagram) |
void |
CompositeDiagramShape.connectEndsToAnchors(TextGrid grid,
Diagram diagram) |
ShapePoint |
DiagramShape.getCellEdgePointBetween(ShapePoint pointInCell,
ShapePoint otherPoint,
Diagram diagram)
Finds the point that represents the intersection between the cell edge
that contains pointInCell and the line connecting pointInCell and
otherPoint.
|
ShapePoint |
DiagramShape.getCellEdgeProjectionPointBetween(ShapePoint pointInCell,
ShapePoint otherPoint,
Diagram diagram)
Returns C, if A is point in cell and B is otherPoint:
Cell
+-----+
| A | B
C *--*--+------------------*
| |
+-----+
|
GeneralPath |
DiagramShape.makeIntoRenderPath(Diagram diagram) |
GeneralPath |
DiagramShape.makeMarkerPath(Diagram diagram) |
void |
DiagramShape.moveEndsToCellEdges(TextGrid grid,
Diagram diagram) |
RenderedImage |
BitmapRenderer.render(Diagram diagram,
BufferedImage image,
RenderingOptions options) |
RenderedImage |
BitmapRenderer.renderToImage(Diagram diagram,
RenderingOptions options) |
Copyright © 2016. All Rights Reserved.