Interface SecondStrokableFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>

public interface SecondStrokableFigure extends Figure
Interface for figures which can render a second stroke.
Author:
Werner Randelshofer
  • Field Details

    • SECOND_STROKE_DASH_OFFSET

      static final @Nullable CssSizeStyleableKey SECOND_STROKE_DASH_OFFSET
      Defines the distance in user coordinates for the dashing pattern. Default value: 0.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE_LINE_CAP

      static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeLineCap> SECOND_STROKE_LINE_CAP
      Defines the end cap style. Default value: SQUARE.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE_LINE_JOIN

      static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeLineJoin> SECOND_STROKE_LINE_JOIN
      Defines the style applied where path segments meet. Default value: MITER.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE_MITER_LIMIT

      static final CssSizeStyleableKey SECOND_STROKE_MITER_LIMIT
      Defines the limit for the StrokeLineJoin.MITER style.

      Default value: 4.0.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE

      static final @NonNull NullablePaintableStyleableKey SECOND_STROKE
      Defines the paint used for filling the outline of the figure. Default value: Color.BLACK.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE_TYPE

      static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeType> SECOND_STROKE_TYPE
      Defines the stroke type used for drawing outline of the figure.

      Default value: StrokeType.CENTERED.

    • SECOND_STROKE_WIDTH

      static final CssSizeStyleableKey SECOND_STROKE_WIDTH
      Defines the width of the outline of the figure.

      Default value: 1.0.

      References:

      SVG Stroke Properties
      w3.org
    • SECOND_STROKE_DASH_ARRAY

      static final NonNullListStyleableKey<CssSize> SECOND_STROKE_DASH_ARRAY
      Defines the dash array used. Default value: empty array.

      References:

      SVG Stroke Properties
      w3.org
    • STROKE_STYLE

      static final @Nullable StrokeStyleableMapAccessor STROKE_STYLE
      Combined map accessor for all stroke style properties.

      Note: this is a non-standard composite map accessor and thus transient!

  • Method Details

    • applySecondStrokeCapAndJoinProperties

      default void applySecondStrokeCapAndJoinProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
    • applySecondStrokeDashProperties

      default void applySecondStrokeDashProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
    • applySecondStrokeTypeProperties

      default void applySecondStrokeTypeProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
    • applySecondStrokeableFigureProperties

      default void applySecondStrokeableFigureProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
      Updates a shape node.
      Parameters:
      ctx -
      shape - a shape node
    • applySecondStrokeColorProperties

      default void applySecondStrokeColorProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)
    • applySecondStrokeWidthProperties

      default void applySecondStrokeWidthProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape)