Interface TextFontableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Implementing Classes:
AbstractLabelConnectionFigure, AbstractLabelFigure, LabelFigure, PageLabelFigure, SimpleLabelConnectionFigure, TextAreaFigure, TextFigure

public interface TextFontableFigure extends Figure
A figure which supports font attributes.
Author:
Werner Randelshofer
  • Field Details

  • Method Details

    • applyTextFontableFigureProperties

      default void applyTextFontableFigureProperties(@Nullable RenderContext ctx, javafx.scene.text.Text text)
      Updates a text node with fontable properties.
      Parameters:
      ctx - RenderContext, can be null
      text - a text node
    • applyTextFontableFigureProperties

      default void applyTextFontableFigureProperties(@Nullable RenderContext ctx, javafx.scene.control.Labeled text)
      Updates a Laeled node with fontable properties.
      Parameters:
      ctx - context
      text - a text node