Examples of underlinePosition()


Examples of org.axsl.font.Font.underlinePosition()

     * @param area The area whose metrics should be used for the computation.
     * @return The Y position that should be used for the underline stroke.
     */
    protected int getUnderlineYPosition(final TextArea area) {
        final Font font = area.getPrimaryFont().getFont();
        final int underlinePosition = font.underlinePosition(
                area.traitFontSize());
        return area.baselineY() + underlinePosition;
    }

    /**
 
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.