Package | Description |
---|---|
org.stathissideris.ascii2image.graphics |
Modifier and Type | Method and Description |
---|---|
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 *--*--+------------------*
| |
+-----+
|
ShapePoint |
ShapeEdge.getEndPoint() |
ShapePoint |
ShapeEdge.getMiddle() |
ShapePoint |
DiagramShape.getPoint(int i) |
ShapePoint |
ShapeEdge.getStartPoint() |
protected static ShapePoint |
DiagramComponent.makePointForCell(TextGrid.Cell cell,
TextGrid grid,
int cellWidth,
int cellHeight,
boolean allRound) |
Modifier and Type | Method and Description |
---|---|
void |
DiagramShape.addToPoints(ShapePoint point) |
void |
ShapePoint.assign(ShapePoint point) |
boolean |
DiagramShape.contains(ShapePoint point) |
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 *--*--+------------------*
| |
+-----+
|
TextGrid.Cell |
Diagram.getCellFor(ShapePoint point) |
boolean |
ShapePoint.isEastOf(ShapePoint point) |
boolean |
ShapePoint.isInLineWith(ShapePoint point) |
boolean |
ShapePoint.isNorthOf(ShapePoint point) |
boolean |
DiagramShape.isPointLinesEnd(ShapePoint point) |
boolean |
ShapePoint.isSouthOf(ShapePoint point) |
boolean |
ShapePoint.isWestOf(ShapePoint point) |
void |
ShapePoint.moveTo(ShapePoint point)
Does the same as assign, but respects the
locked attribute
|
void |
ShapeEdge.setEndPoint(ShapePoint point) |
void |
DiagramShape.setPoint(int i,
ShapePoint point) |
void |
ShapeEdge.setStartPoint(ShapePoint point) |
Constructor and Description |
---|
ShapeEdge(ShapePoint start,
ShapePoint end,
DiagramShape owner) |
ShapePoint(ShapePoint other) |
Copyright © 2016. All Rights Reserved.