Documentation API of the 'jhplot.shapes.Text' Java class
Text
jhplot.shapes

Class Text

  • All Implemented Interfaces:
    Serializable


    public class Textextends HShape
    Draw a TEXT in the USER coordinate system. Use HLabel to draw an interactive label.
    See Also:
    Serialized Form
    • Constructor Detail

      • Text

        public Text(String text,            double X1,            double Y1,            Font f,            Color color)
        Create a TEXT object
        Parameters:
        text - Text
        X1 - X position
        Y1 - Y position
        f - Font
        color - Color
      • Text

        public Text(String text,            double X1,            double Y1)
        Create a TEXT object
        Parameters:
        text - Text
        X1 - X position
        Y1 - Y position
    • Method Detail

      • getFont

        public Font getFont()
        Get the font
        Returns:
        font to draw the text
      • setFont

        public void setFont(Font f)
        Set the font for this text.
        Parameters:
        f - Font to be set
      • getText

        public String getText()
        Get a string with the text.
        Returns:
        Text
      • setText

        public void setText(String text)
        Set a string with the text
        Parameters:
        text - Test to be inserted
      • toString

        public String toString()
        Show this object
        Overrides:
        toString in class Object
        Returns:
        a string representation of this object
      • doc

        public void doc()
        Show online documentation.

DMelt 1.2 © DataMelt by jWork.ORG

Text
jhplot.shapes

Class Text

  • All Implemented Interfaces:
    Serializable


    public class Textextends HShape
    Draw a TEXT in the USER coordinate system. Use HLabel to draw an interactive label.
    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.