Class DrawStringCommand


  • public class DrawStringCommand
    extends Command<java.lang.String>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double x  
      private double y  
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawStringCommand​(java.lang.String string, double x, double y)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getX()  
      double getY()  
      java.lang.String toString()  
      • Methods inherited from class de.erichseifert.vectorgraphics2d.intermediate.commands.Command

        equals, getValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        private final double x
      • y

        private final double y
    • Constructor Detail

      • DrawStringCommand

        public DrawStringCommand​(java.lang.String string,
                                 double x,
                                 double y)
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Command<java.lang.String>