public static class DrawableObject.Image extends DrawableObject
DrawableObject.Image, DrawableObject.Label, DrawableObject.Shape, DrawableObject.TickLabel, DrawableObject.Transformm_transform| Constructor and Description | 
|---|
| Image(int compType,
     java.lang.String url,
     java.awt.Image img,
     java.awt.geom.Rectangle2D rect,
     double scaleRatio,
     java.awt.image.ImageObserver imgObs,
     java.awt.geom.AffineTransform transform)Constructor of an image object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(double x,
        double y,
        boolean useTruncated)Perform an inclusion test on the object based on the given point | 
| java.awt.geom.Rectangle2D | getBounds()Gets the rectangle defining this filled area. | 
| java.awt.Image | getImage()Gets the URL used to load this image. | 
| java.awt.image.ImageObserver | getImageObserver()Gets the  ImageObserverfor this image. | 
| double | getScaleRatio()Gets the ratio in which to scale the image. | 
| java.lang.String | getURL()Gets the URL used to load this image. | 
getAffineTransform, getComponentIndex, getComponentType, getLabelDimensions, getLabelObject, getTickLabelObject, isSelected, isVisible, render, setSelected, setVisiblepublic Image(int compType,
             java.lang.String url,
             java.awt.Image img,
             java.awt.geom.Rectangle2D rect,
             double scaleRatio,
             java.awt.image.ImageObserver imgObs,
             java.awt.geom.AffineTransform transform)
java.awt.Image
 instance may be null, but the URL to the load image will never be null.transform - Instance of AffineTransform to apply
                   to this shape before rendering itimgObs - Instance of ImageObserverscaleRatio - Ratio in which to scale imagerect - Bounds of imageurl - Instance of String that is the URL
                   used to load the imageimg - Instance of java.awt.ImagecompType - Type of component to which this object belongs;
                   valid values are constants in the
                   GaugeConstants class beginning with
                   ID_public boolean contains(double x,
                        double y,
                        boolean useTruncated)
contains in class DrawableObjectuseTruncated - True if the truncated rectangle
        should be used, False otherwisey - Integer representing the Y location of the pointx - Integer representing the X location of the pointTrue if the point is contained within
         this object, False otherwisepublic java.lang.String getURL()
public java.awt.Image getImage()
java.awt.Image instance.public java.awt.geom.Rectangle2D getBounds()
Rectangle instance.Rectanglepublic double getScaleRatio()
public java.awt.image.ImageObserver getImageObserver()
ImageObserver for this image.ImageObserver.