Package org.foray.fotree.value

Examples of org.foray.fotree.value.FnLabelEnd.eval()


            return this.convertValueToLength(value(), fobj, context);
        }
        if (value() instanceof FnLabelEnd
                && direction == RelativeCompass.END) {
            final FnLabelEnd function = (FnLabelEnd) value();
            final DtLength lengthDT = function.eval(fobj, context);
            return lengthDT.getValue(fobj.traitFontSize(context));
        }
        if (value() instanceof FnBodyStart
                && direction == RelativeCompass.START) {
            final FnBodyStart function = (FnBodyStart) value();
View Full Code Here


            return lengthDT.getValue(fobj.traitFontSize(context));
        }
        if (value() instanceof FnBodyStart
                && direction == RelativeCompass.START) {
            final FnBodyStart function = (FnBodyStart) value();
            final DtLength lengthDT = function.eval(fobj, context);
            return lengthDT.getValue(fobj.traitFontSize(context));
        }
        throw this.unexpectedRetrieval();
    }
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.