Java javafx.scene.text Font fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.text Font fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.text Font.

The text is from its open source code.

Constructor

Font(@NamedArg("size") double size)
Constructs a font using the default face "System".
Font(@NamedArg("name") String name, @NamedArg("size") double size)
Constructs a font using the specified full face name and size

Method

FontgetDefault()
Gets the default font which will be from the family "System", and typically the style "Regular", and be of a size consistent with the user's desktop environment, to the extent that can be determined.
ListgetFamilies()
Gets all the font families installed on the user's system, including any application fonts or SDK fonts.
StringgetFamily()
Returns the family of this font.
doublegetSize()
The point size for this font.
FontloadFont(String urlStr, double size)
Loads a font resource from the specified URL.
FontloadFont(InputStream in, double size)
Loads a font resource from the specified input stream.