Package org.foray.fotree.fo.prop

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


     * @return The background-position-horizontal property.
     */
    public int traitBackgroundPositionHorizontal(final FObj fobj,
            final FoContext context, final int paddingRectangleWidth,
            final int backgroundImageWidth) {
        final PdBackgroundPositionHorizontal property =
                (PdBackgroundPositionHorizontal)
                getProperty(FoProperty.BACKGROUND_POSITION_HORIZONTAL);
        if (property != null) {
            return property.getValue(context, fobj, paddingRectangleWidth,
                    backgroundImageWidth);
        }
        // Try the first shorthand
        PdBackgroundPosition backgroundPosition = (PdBackgroundPosition)
                getProperty(FoProperty.BACKGROUND_POSITION);
View Full Code Here


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

TOP

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

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.