Interface TextStrokeableFigure

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

public interface TextStrokeableFigure extends Figure
TextStrokeableFigure allows to change the stroke of the text.
Author:
Werner Randelshofer
  • Field Details

    • TEXT_STROKE_DASH_OFFSET

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

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_LINE_CAP

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

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_LINE_JOIN

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

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_MITER_LIMIT

      static final CssSizeStyleableKey TEXT_STROKE_MITER_LIMIT
      Defines the limit for the StrokeLineJoin.MITER style. Default value: 4.0.

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE

      static final @Nullable NullablePaintableStyleableKey TEXT_STROKE
      Defines the paint used for filling the outline of the figure. Default value: null.

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_TYPE

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

      Default value: StrokeType.OUTSIDE.

    • TEXT_STROKE_WIDTH

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

      Default value: 1.0.

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_DASH_ARRAY

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

      References:

      SVG Stroke Properties
      w3.org
    • TEXT_STROKE_STYLE

      static final @Nullable StrokeStyleableMapAccessor TEXT_STROKE_STYLE
      Combined map accessor for all stroke style properties.
  • Method Details

    • applyTextStrokeableFigureProperties

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

      default void applyTextStrokeDashProperties(@NonNull javafx.scene.shape.Shape shape)