Examples of DtShape


Examples of org.foray.fotree.value.DtShape

     * expressed in millipoints.
     */
    public Shape getValue(final FoContext context, final FObj fobj,
            final Shape containerShape) {
        if (value() instanceof DtShape) {
            final DtShape shape = (DtShape) value();
            int fontSize = 0;
            if (shape.lengthRequiresFontSize()) {
                fontSize = fobj.traitFontSize(context);
            }
            return shape.computeShape(containerShape, fontSize);
        }
        if (value().canEvalKeyword()) {
            final FoValue keyword = this.convertValueToFoValue(value());
            switch (keyword) {
            case AUTO: {
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.