jhplot.shapes
Class Picture

java.lang.Object
  extended by jhplot.shapes.HShape
      extended by jhplot.shapes.Picture
All Implemented Interfaces:
java.io.Serializable

public class Picture
extends HShape

Insert a picture in the PNG or GIF format. The main system is the USER.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jhplot.shapes.HShape
ARROW, CIRCLE, ELLIPSE, IMAGE, LINE, POLYGON, RECTAN, TEXT
 
Constructor Summary
Picture(double X1, double Y1, java.awt.Image image)
          Create a picture object in the USER coordinates
Picture(double X1, double Y1, java.lang.String imageFile)
          Create a picture object in the USER coordinates
 
Method Summary
 void doc()
          Show online documentation.
 java.awt.Image getPicture()
          Get the image
 java.lang.String toString()
           
 
Methods inherited from class jhplot.shapes.HShape
contains, getColor, getFill, getPosition, getPositionCoordinate, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setStroke, setTransparency, setWhoAm, updateSettings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Picture

public Picture(double X1,
               double Y1,
               java.lang.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,
               java.awt.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 java.awt.Image getPicture()
Get the image

Returns:
Actual image

toString

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

doc

public void doc()
Show online documentation.



jHepWork 2.8 (©) S.Chekanov