Interface TextFillableFigure

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

public interface TextFillableFigure extends Figure
TextFillableFigure allows to change the fill of the text.
Author:
Werner Randelshofer
  • Field Details

    • TEXT_FILL

      static final NullablePaintableStyleableKey TEXT_FILL
      Defines the paint used for filling the interior of the text. Default value: Color.BLACK.
  • Method Details

    • applyTextFillableFigureProperties

      default void applyTextFillableFigureProperties(RenderContext ctx, javafx.scene.text.Text text)
      Updates a text node with label properties.
      Parameters:
      ctx - the render context
      text - a text node
    • applyTextFillableFigureProperties

      default void applyTextFillableFigureProperties(RenderContext ctx, javafx.scene.control.Labeled text)
      Updates a text node with label properties.
      Parameters:
      ctx - the render context
      text - a text node