Class Text

    • Constructor Detail

      • Text

        public Text​(GraphPoint position,
                    String text,
                    GraphicAttributes attributes)
        Creates an instance with the specified parameters.
        Parameters:
        position - Position of the text.
        text - Text.
        attributes - Drawing attributes. Can be null.
    • Method Detail

      • getPosition

        public GraphPoint getPosition()
        Returns the position.
      • getText

        public String getText()
        Returns the text string.