Interface MarkerStrokableFigure

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

public interface MarkerStrokableFigure extends Figure
Interface for figures which can stroke a marker.
Author:
Werner Randelshofer
  • Field Details

    • MARKER_STROKE_DASH_OFFSET

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

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE_LINE_CAP

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

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE_LINE_JOIN

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

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE_MITER_LIMIT

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

      Default value: 4.0.

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE

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

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE_TYPE

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

      Default value: StrokeType.CENTERED.

    • MARKER_STROKE_WIDTH

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

      Default value: 1.0.

      References:

      SVG Stroke Properties
      w3.org
    • MARKER_STROKE_DASH_ARRAY

      static final NonNullListStyleableKey<CssSize> MARKER_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

    • applyMarkerStrokeCapAndJoinProperties

      default void applyMarkerStrokeCapAndJoinProperties(javafx.scene.shape.Shape shape)
    • applyMarkerStrokeDashProperties

      default void applyMarkerStrokeDashProperties(javafx.scene.shape.Shape shape)
    • applyMarkerStrokeTypeProperties

      default void applyMarkerStrokeTypeProperties(javafx.scene.shape.Shape shape)
    • applyMarkerStrokableFigureProperties

      default void applyMarkerStrokableFigureProperties(javafx.scene.shape.Shape shape)
      Updates a shape node.
      Parameters:
      shape - a shape node
    • applyMarkerStrokeColorProperties

      default void applyMarkerStrokeColorProperties(javafx.scene.shape.Shape shape)
    • applyMarkerStrokeWidthProperties

      default void applyMarkerStrokeWidthProperties(javafx.scene.shape.Shape shape)