Examples of FontPosture


Examples of javafx.scene.text.FontPosture

        if (font == null) {
            return;
        }
        this.font = font;
        FontWeight weight = font.isBold() ? FontWeight.BOLD : FontWeight.NORMAL;
        FontPosture posture = font.isItalic()
                ? FontPosture.ITALIC : FontPosture.REGULAR;
        this.gc.setFont(javafx.scene.text.Font.font(font.getFamily(),
                weight, posture, font.getSize()));
    }
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.