Examples of PdBackgroundRepeat


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

     * issues.
     * @return The background-repeat property.
     */
    public FoValue getBackgroundRepeat(final FObj fobj,
            final FoContext context) {
        PdBackgroundRepeat property = (PdBackgroundRepeat) getProperty(
                FoProperty.BACKGROUND_REPEAT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            property = background.getRepeat();
            if (property != null) {
                return property.getValue(context, fobj);
            }
        }
        return PdBackgroundRepeat.getValueNoInstance();
    }
View Full Code Here

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

        case BACKGROUND_POSITION_VERTICAL: {
            return new PdBackgroundPositionVertical(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_REPEAT: {
            return new PdBackgroundRepeat(fobj, propertyFullName,
                    attributeValue);
        }
        case BASELINE_SHIFT: {
            return new PdBaselineShift(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.