Package org.foray.fotree.fo.prop

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


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The color property.
     */
    public java.awt.Color getColor(final FObj fobj, final FoContext context) {
        final PdColor property = (PdColor) getProperty(FoProperty.COLOR);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdColor.getValueNoInstance(context, fobj);
    }
View Full Code Here


        }
        case CLIP: {
            return new PdClip(fobj, propertyFullName, attributeValue);
        }
        case COLOR: {
            return new PdColor(fobj, propertyFullName, attributeValue);
        }
        case COLOR_PROFILE_NAME: {
            return new PdColorProfileName(fobj, propertyFullName,
                    attributeValue);
        }
View Full Code Here

TOP

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

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.