Class Label

    • Constructor Summary

      Constructors 
      Constructor Description
      Label​(double width, double height)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.geom.Point2D getPosition()  
      java.awt.geom.Dimension2D getSize()  
      void moveSvek​(double deltaX, double deltaY)  
      void setCenterX​(double center)  
      void setCenterY​(double center)  
      void setHeight​(double height)  
      void setWidth​(double width)  
      void setX​(double x)  
      void setY​(double y)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Label

        public Label​(double width,
                     double height)
    • Method Detail

      • setCenterX

        public final void setCenterX​(double center)
      • setCenterY

        public final void setCenterY​(double center)
      • getSize

        public java.awt.geom.Dimension2D getSize()
        Specified by:
        getSize in interface Positionable
      • setWidth

        public final void setWidth​(double width)
      • setHeight

        public final void setHeight​(double height)
      • setX

        public final void setX​(double x)
      • setY

        public final void setY​(double y)
      • moveSvek

        public void moveSvek​(double deltaX,
                             double deltaY)
        Specified by:
        moveSvek in interface Moveable