Interface CompositableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Implementing Classes:
ArcFigure, BezierPathFigure, CombinedPathFigure, EllipseFigure, GroupFigure, ImageFigure, LabelFigure, LayerFigure, LineConnectionFigure, LineConnectionWithMarkersFigure, LineFigure, PageLabelFigure, PolygonFigure, PolylineFigure, RectangleFigure, RegionFigure, SimpleLabelConnectionFigure, TextAreaFigure, TextFigure

public interface CompositableFigure extends Figure
Provides properties for compositing a figure.

Usage:

 class MyFigureClass implements CompositableFigure {
     public void updateNode(RenderContext ctx, Node n) {
         applyCompositableFigureProperties(ctx, n);
     }
 }
 
Author:
Werner Randelshofer
  • Field Details

    • BLEND_MODE

      static final NonNullEnumStyleableKey<javafx.scene.effect.BlendMode> BLEND_MODE
      Specifies a blend mode applied to the figure.

      Default value: SRC_OVER.

    • EFFECT

      static final EffectStyleableKey EFFECT
      Specifies an effect applied to the figure. The null value means that no effect is applied.

      Default value: null.

    • OPACITY

      static final DoubleStyleableKey OPACITY
      Specifies the opacity of the figure. A figure with 0 opacity is completely translucent. A figure with 1 opacity is completely opaque.

      Values smaller than 0 are treated as 0. Values larger than 1 are treated as 1.

      Default value: 1.

  • Method Details