jhplot.shapes
Class Picture
java.lang.Object
jhplot.shapes.HShape
jhplot.shapes.Picture
public class Picture
- extends HShape
Insert a picture in the PNG or GIF format.
The main system is the USER.
Constructor Summary |
Picture(double X1,
double Y1,
java.lang.String imageFile)
Create a picture object in the USER coordinates |
Methods inherited from class jhplot.shapes.HShape |
contains, getColor, getFill, getPosition, getPositionCoordinate, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setStroke, setTransparency, setWhoAm, updateSettings |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Picture
public Picture(double X1,
double Y1,
java.lang.String imageFile)
- Create a picture object in the USER coordinates
- Parameters:
X1
- X start positionY1
- Y end positionimageFile
- Image file name
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.
jHepWork 1.1 (C) Chekanov