Package javafx.scene.text
package javafx.scene.text
Provides the set of classes for fonts and renderable Text Node.
-
ClassDescriptionThe
Font
class represents fonts, which are used to render text on screen.Specifies whether the font is italicizedTheFontSmoothingType
enum is used to specify the preferred mechanism used to smooth the edges of fonts for on-screen text.Specifies different font weights which can be used when searching for a font on the system.Represents the hit information in a Text node.TheText
class defines a node that displays a text.TheTextAlignment
enum represents the horizontal text alignment.Specifies the behaviour of bounds reporting byText
nodes.A specialized layout for rich text.