jhplot.shapes
Class Picture
java.lang.Object
jhplot.shapes.HShape
jhplot.shapes.Picture
- All Implemented Interfaces:
- 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
Constructor Summary |
Picture(double X1,
double Y1,
Image image)
Create a picture object in the USER coordinates |
Picture(double X1,
double Y1,
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, setPositionCoordinate, setStroke, setTransparency, setWhoAm, updateSettings |
Picture
public Picture(double X1,
double Y1,
String imageFile)
- Create a picture object in the USER coordinates
- Parameters:
X1
- X start positionY1
- Y end positionimageFile
- Image file name
Picture
public Picture(double X1,
double Y1,
Image image)
- Create a picture object in the USER coordinates
- Parameters:
X1
- X start positionY1
- Y end positionimageFile
- Image
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.
jHepWork 3.1 ©