|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.Element
org.pentaho.reporting.engine.classic.core.ImageElement
public class ImageElement
Used to draw images. References to the Images must be given as ImageContainer. If you use the
ImageElementFactory
implementations, the necessary wrapping is done for you, if needed.
Field Summary |
---|
Fields inherited from class org.pentaho.reporting.engine.classic.core.Element |
---|
ANONYMOUS_ELEMENT_PREFIX |
Constructor Summary | |
---|---|
ImageElement()
Deprecated. Constructs a image element. |
Method Summary | |
---|---|
boolean |
isKeepAspectRatio()
Deprecated. Returns true if the image's aspect ratio should be preserved, and false otherwise. |
boolean |
isScale()
Deprecated. Returns true if the image should be scaled, and false otherwise. |
void |
setKeepAspectRatio(boolean kar)
Deprecated. Sets a flag that controls whether the shape's aspect ratio should be preserved. |
void |
setScale(boolean scale)
Deprecated. Sets a flag that controls whether the image should be scaled to fit the element bounds. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageElement()
Method Detail |
---|
public boolean isScale()
public void setScale(boolean scale)
scale
- the flag.public boolean isKeepAspectRatio()
public void setKeepAspectRatio(boolean kar)
kar
- the flag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |