Package org.foray.fotree.fo.prop

Examples of org.foray.fotree.fo.prop.PdDominantBaseline.traitValue()


     */
    public Baseline traitDominantBaseline(final FObj fobj, final FoContext context) {
        final PdDominantBaseline property = (PdDominantBaseline) getProperty(
                FoProperty.DOMINANT_BASELINE);
        if (property != null) {
            return property.traitValue(context, fobj);
        }
        /* Try the shorthand property. */
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
            return va.getDominantBaseline(fobj, context);
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.