Examples of PdBackgroundImage


Examples of org.foray.fotree.fo.prop.PdBackgroundImage

     * 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();
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdBackgroundImage

        case BACKGROUND_COLOR: {
            return new PdBackgroundColor(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_IMAGE: {
            return new PdBackgroundImage(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_POSITION: {
            return new PdBackgroundPosition(fobj, propertyFullName,
                    attributeValue);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.