Examples of evalLength()


Examples of org.foray.fotree.value.PropertyValue.evalLength()

            }
            if (length == null) {
                return 0;
            }
            if (length.canEvalLength()) {
                return length.evalLength(fobj.traitFontSize(context));
            }
            if (length.canEvalPercentage()) {
                final float percent = length.evalPercentage();
                return Math.round(context.ipdAncestorBlockOrRa() * percent
                        / WKConstants.PERCENT_CONVERSION);
View Full Code Here

Examples of org.foray.fotree.value.PropertyValue.evalLength()

            }
            }
            if (length == null) {
                return FObj.DIMENSION_AUTO;
            }
            return length.evalLength(fobj.traitFontSize(context));
        }
        if (value().canEvalPercentage()) {

            int base = 0;
            if (this.getRelativeAxis() == RelativeAxis.BLOCK_PROGRESSION) {
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.