Interface FillRulableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Implementing Classes:
BezierPathFigure, CombinedPathFigure

public interface FillRulableFigure extends Figure
Interface figures which render a javafx.scene.shape.Shape and can have a fill rule.
Author:
Werner Randelshofer
  • Field Details

    • FILL_RULE

      static final NonNullEnumStyleableKey<javafx.scene.shape.FillRule> FILL_RULE
      Defines the fill-rule used for filling the interior of the figure..

      Default value: StrokeType.NON_ZERO.

  • Method Details

    • applyFillRulableFigureProperties

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