* issues.
* @return The background-image property.
*/
public Graphic getBackgroundImage(final FObj fobj,
final FoContext context) {
PdBackgroundImage property = (PdBackgroundImage) getProperty(
FoProperty.BACKGROUND_IMAGE);
if (property != null) {
return property.getValue(context, fobj);
}
// Try the shorthand
final PdBackground background = (PdBackground) getProperty(
FoProperty.BACKGROUND);
if (background != null) {
property = background.getImage();
if (property != null) {
return property.getValue(context, fobj);
}
}
return PdBackgroundImage.getValueNoInstance();
}