Examples of overlinePosition()


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

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

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