Class ShapeEdge
java.lang.Object
org.stathissideris.ascii2image.graphics.ShapeEdge
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getOwner()
boolean
boolean
void
moveInwardsBy
(float offset) void
setEndPoint
(ShapePoint point) void
setOwner
(DiagramShape shape) void
setStartPoint
(ShapePoint point) toString()
boolean
touchesWith
(ShapeEdge other) void
translate
(float dx, float dy)
-
Constructor Details
-
ShapeEdge
-
ShapeEdge
-
-
Method Details
-
moveInwardsBy
public void moveInwardsBy(float offset) -
translate
public void translate(float dx, float dy) -
getMiddle
-
getEndPoint
- Returns:
-
getStartPoint
- Returns:
-
setEndPoint
- Parameters:
point
-
-
setStartPoint
- Parameters:
point
-
-
getOwner
- Returns:
-
setOwner
- Parameters:
shape
-
-
equals
-
touchesWith
-
isHorizontal
public boolean isHorizontal() -
isVertical
public boolean isVertical() -
toString
-