Examples of traitAlignmentBaseline()


Examples of org.foray.fotree.FObj.traitAlignmentBaseline()

        final FObj fobj = TestVerticalAlign.makeTestFObj();
        final PdVerticalAlign property = createProperty(fobj, rawValue);
        fobj.getPropertyList().addProperty(fobj, property);
        final FoContext context = TestVerticalAlign.STD_FO_CONTEXT;
        final org.axsl.common.value.AlignmentBaseline actualAlignmentBaseline
                = fobj.traitAlignmentBaseline(context);
        assertEquals(expectedAlignmentBaseline, actualAlignmentBaseline);
        /* TODO: Add tests for alignment-adjust, baseline-shift, and
         * dominant-baseline. */
    }

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.