Picture
jhplot.shapes

Class Picture

  • All Implemented Interfaces:
    Serializable


    public class Pictureextends HShape
    Insert a picture in the PNG or GIF format. The main system is the USER.
    See Also:
    Serialized Form
    • Constructor Detail

      • Picture

        public Picture(double X1,       double Y1,       String imageFile)
        Create a picture object in the USER coordinates
        Parameters:
        X1 - X start position
        Y1 - Y end position
        imageFile - Image file name
      • Picture

        public Picture(double X1,       double Y1,       Image image)
        Create a picture object in the USER coordinates
        Parameters:
        X1 - X start position
        Y1 - Y end position
        imageFile - Image
    • Method Detail

      • getPicture

        public Image getPicture()
        Get the image
        Returns:
        Actual image
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a string representation of this label, the text.
      • doc

        public void doc()
        Show online documentation.

SCaVis 2.1 © jWork.ORG