APIdia Launch Partner
Top Description Classes Enums
module javafx.graphics

Package javafx.scene.text


Provides the set of classes for fonts and renderable Text Node.

Class Summary

Modifier and TypeClass and Description
public abstract class
CaretInfo

Provides the information associated with the caret.

public class
Font

The Font class represents fonts, which are used to render text on screen.

public class
HitInfo

Represents the hit information in a Text node.

public abstract class
LayoutInfo

Holds a snapshot of the text layout geometry in a Text or a TextFlow node, such as break up of the text into lines, as well as other shapes derived from the layout (selection, underline, etc.).

public class
TabStop

This class encapsulates an immutable single tab stop within the TabStopPolicy.

public class
TabStopPolicy

The TabStopPolicy determines the tab stop positions within the text layout.

public class
Text

The Text class defines a node that displays a text.

public class
TextFlow

A specialized layout for rich text.

Enum Summary

Modifier and TypeEnum and Description
public enum
FontPosture

Specifies whether the font is italicized

public enum
FontSmoothingType

The FontSmoothingType enum is used to specify the preferred mechanism used to smooth the edges of fonts for on-screen text.

public enum
FontWeight

Specifies different font weights which can be used when searching for a font on the system.

public enum
TextAlignment

The TextAlignment enum represents the horizontal text alignment.

public enum
TextBoundsType

Specifies the behaviour of bounds reporting by Text nodes.