public class ImageRenderEvent extends PrimitiveRenderEvent
DRAW, FILL, iObjIndex
Constructor and Description |
---|
ImageRenderEvent(java.lang.Object oSource)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveRenderEvent |
copy() |
void |
draw(IDeviceRenderer idr)
Causes this instruction to 'draw' itself on the device renderer
|
void |
fill(IDeviceRenderer idr)
Causes this instruction to 'fill' itself on the device renderer
|
int |
getHeight() |
Image |
getImage() |
Location |
getLocation() |
Position |
getPosition() |
int |
getWidth() |
boolean |
isStretch() |
void |
reset()
Resets the inner state of current event.
|
void |
setHeight(int height)
Sets the height hint of the image.
|
void |
setImage(Image img)
Sets the content of the image.
|
void |
setLocation(Location loc)
Sets the location of the image.
|
void |
setPosition(Position pos)
Sets the position of the image.
|
void |
setStretch(boolean val)
Sets if stretch the image.
|
void |
setWidth(int width)
Sets the width hint of the image.
|
compareRegular, compareTo, compareTransposed, getBackground, getBounds, getDepth, getLabel, getLineAttributes, isEnabled, setDepth, setEnable
setSourceObject
public ImageRenderEvent(java.lang.Object oSource)
public void setLocation(Location loc)
public void setImage(Image img)
public void setPosition(Position pos)
public Location getLocation()
public Image getImage()
public Position getPosition()
public void setWidth(int width)
public void setHeight(int height)
public int getWidth()
public int getHeight()
public void setStretch(boolean val)
public boolean isStretch()
public PrimitiveRenderEvent copy() throws ChartException
copy
in class PrimitiveRenderEvent
ChartException
public void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
fill
in class PrimitiveRenderEvent
ChartException
public void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
draw
in class PrimitiveRenderEvent
ChartException
public void reset()
ChartEvent
reset
in class ChartEvent
Copyright © 2005-2014 OpenText Corp. All rights reserved.