Interface FillableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Implementing Classes:
AbstractLabelConnectionFigure, AbstractLabelFigure, ArcFigure, BezierPathFigure, CombinedPathFigure, EllipseFigure, LabelFigure, PageFigure, PageLabelFigure, PolygonFigure, PolylineFigure, RectangleFigure, RegionFigure, SimpleLabelConnectionFigure, TextAreaFigure, TextFigure

public interface FillableFigure extends Figure
Interface figures which render a javafx.scene.shape.Shape and can be filled.
Author:
Werner Randelshofer
  • Field Details

    • FILL

      static final NullablePaintableStyleableKey FILL
      Defines the paint used for filling the interior of the figure.

      Default value: Color.WHITE.

  • Method Details

    • applyFillableFigureProperties

      default void applyFillableFigureProperties(@Nullable RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
      Updates a shape node.
      Parameters:
      ctx - the render context
      shape - a shape node