Class ShapeEdge


  • public class ShapeEdge
    extends Object
    Author:
    Efstathios Sideris
    • Method Detail

      • moveInwardsBy

        public void moveInwardsBy​(float offset)
      • translate

        public void translate​(float dx,
                              float dy)
      • getEndPoint

        public ShapePoint getEndPoint()
        Returns:
      • getStartPoint

        public ShapePoint getStartPoint()
        Returns:
      • setEndPoint

        public void setEndPoint​(ShapePoint point)
        Parameters:
        point -
      • setStartPoint

        public void setStartPoint​(ShapePoint point)
        Parameters:
        point -
      • setOwner

        public void setOwner​(DiagramShape shape)
        Parameters:
        shape -
      • touchesWith

        public boolean touchesWith​(ShapeEdge other)
      • isHorizontal

        public boolean isHorizontal()
      • isVertical

        public boolean isVertical()