Package org.foray.fotree.fo.prop

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


     * @return The background-position-vertical property.
     */
    public int traitBackgroundPositionVertical(final FObj fobj,
            final FoContext context, final int paddingRectangleHeight,
            final int backgroundImageHeight) {
        final PdBackgroundPositionVertical property =
                (PdBackgroundPositionVertical) getProperty(
                        FoProperty.BACKGROUND_POSITION_VERTICAL);
        if (property != null) {
            return property.getValue(context, fobj, paddingRectangleHeight,
                    backgroundImageHeight);
        }
        // Try the first shorthand
        PdBackgroundPosition backgroundPosition = (PdBackgroundPosition)
                getProperty(FoProperty.BACKGROUND_POSITION);
View Full Code Here


        case BACKGROUND_POSITION_HORIZONTAL: {
            return new PdBackgroundPositionHorizontal(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_POSITION_VERTICAL: {
            return new PdBackgroundPositionVertical(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_REPEAT: {
            return new PdBackgroundRepeat(fobj, propertyFullName,
                    attributeValue);
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.prop.PdBackgroundPositionVertical

Copyright © 2018 www.massapicom. 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.