Examples of inlineSizeOptimum()


Examples of org.axsl.text.line.LineNonText.inlineSizeOptimum()

            throw new NoSuchElementException("No more elements in " + this.getClass().getName());
        }
        final LineContent lineContent = this.lineContentList.get(this.lineContentIndex);
        if (lineContent instanceof LineNonText) {
            final LineNonText lineNonText = (LineNonText) lineContent;
            final int optimum = lineNonText.inlineSizeOptimum(1);
            final int minimum = lineNonText.inlineSizeMinimum(1);
            final int maximum = lineNonText.inlineSizeMaximum(1);
            this.lineContentIndex ++;
            return new LbGlue4a(optimum, maximum - optimum, optimum - minimum);
        }
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.