javafx.scene.text (JavaFX 28)
Description: declaration: module: javafx.graphics, package: javafx.scene.text

# Package javafx.scene.text

package javafx.scene.text

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

- Related Packages
  Package
  Description
  javafx.scene
  Provides the core set of base classes for the JavaFX Scene Graph API.
- Class
  Description
  CaretInfo
  Provides the information associated with the caret.
  Font
  The `Font` class represents fonts, which are used to render text on screen.
  FontPosture
  Specifies whether the font is italicized
  FontSmoothingType
  The `FontSmoothingType` enum is used to specify the preferred mechanism used to smooth the edges of fonts for on-screen text.
  FontWeight
  Specifies different font weights which can be used when searching for a font on the system.
  HitInfo
  Represents the hit information in a Text node.
  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.).
  TabStop
  This class encapsulates an immutable single tab stop within the `TabStopPolicy`.
  TabStopPolicy
  The TabStopPolicy determines the tab stop positions within the text layout.
  Text
  The `Text` class defines a node that displays a text.
  TextAlignment
  The `TextAlignment` enum represents the horizontal text alignment.
  TextBoundsType
  Specifies the behaviour of bounds reporting by `Text` nodes.
  TextFlow
  A specialized layout for rich text.
  TextLineInfo
  Provides the information about a text line in a text layout.