- All Superinterfaces:
Figure,PropertyBean,StyleableBean,StyleablePropertyBean,TreeNode<Figure>
Interface for figures which can render a second stroke.
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from interface org.jhotdraw8.fxbase.styleable.StyleableBean
id -
Nested Class Summary
Nested classes/interfaces inherited from interface org.jhotdraw8.fxbase.tree.TreeNode
TreeNode.AncestorIterator<T extends TreeNode<T>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull NullablePaintableStyleableKeyDefines the paint used for filling the outline of the figure.static final NonNullListStyleableKey<CssSize> Defines the dash array used.static final @Nullable CssSizeStyleableKeyDefines the distance in user coordinates for the dashing pattern.static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeLineCap> Defines the end cap style.static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeLineJoin> Defines the style applied where path segments meet.static final CssSizeStyleableKeyDefines the limit for theStrokeLineJoin.MITERstyle.static final NonNullEnumStyleableKey<javafx.scene.shape.StrokeType> Defines the stroke type used for drawing outline of the figure.static final CssSizeStyleableKeyDefines the width of the outline of the figure.static final @Nullable StrokeStyleableMapAccessorCombined map accessor for all stroke style properties.Fields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplySecondStrokeableFigureProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) Updates a shape node.default voidapplySecondStrokeCapAndJoinProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) default voidapplySecondStrokeColorProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) default voidapplySecondStrokeDashProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) default voidapplySecondStrokeTypeProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) default voidapplySecondStrokeWidthProperties(RenderContext ctx, @NonNull javafx.scene.shape.Shape shape) Methods inherited from interface org.jhotdraw8.draw.figure.Figure
addChild, addedToDrawing, createHandles, createNode, disconnect, firePropertyChangeEvent, firePropertyChangeEvent, getBoundsInLocal, getBoundsInParent, getBoundsInWorld, getCenterInLocal, getCenterInParent, getChildren, getCssLayoutBounds, getDrawing, getLayer, getLayoutBounds, getLayoutBoundsInParent, getLayoutBoundsInWorld, getLayoutObservers, getLayoutSubjects, getLocalToParent, getLocalToWorld, getParent, getParentToLocal, getParentToWorld, getPreferredAspectRatio, getPropertyChangeListeners, getReadOnlyLayoutObservers, getRoot, getStyleableParent, getSupportedKeys, getVisualBounds, getVisualBoundsInWorld, getWorldToLocal, getWorldToParent, hasPropertyChangeListeners, invalidateTransforms, isAllowsChildren, isDecomposable, isDeletable, isDeletWithLastLayoutSubject, isEditable, isEditableKey, isGroupReshapeableWith, isLayoutable, isSelectable, isShowing, isSuitableChild, isSuitableParent, isSupportedKey, isVisible, layout, layoutChanged, layoutObserverChanged, layoutSubjectChanged, localToParent, localToWorld, localToWorld, parentProperty, propertyChanged, removeAllLayoutSubjects, removeChild, removedFromDrawing, removeLayoutSubject, reshapeInLocal, reshapeInLocal, reshapeInLocal, reshapeInLocal, reshapeInParent, setParent, stylesheetChanged, transformChanged, transformInLocal, transformInParent, translateInLocal, translateInParent, updateCss, updateNode, worldToLocal, worldToLocal, worldToParent, worldToParentMethods inherited from interface org.jhotdraw8.fxbase.beans.PropertyBean
get, getNonNull, getProperties, getProperty, put, remove, set, setNonNull, valueAtMethods inherited from interface org.jhotdraw8.fxbase.styleable.StyleableBean
getId, getPseudoClassStates, getStyle, getStyleClasses, getTypeSelector, idPropertyMethods inherited from interface org.jhotdraw8.fxbase.styleable.StyleablePropertyBean
containsMapAccessor, getStyled, getStyled, getStyledNonNull, remove, removeAll, resetStyledValues, setStyledMethods inherited from interface org.jhotdraw8.fxbase.tree.TreeNode
ancestorIterable, breadthFirstIterable, depthFirstIterable, dumpTree, dumpTree, getAncestor, getChild, getDepth, getFirstChild, getLastChild, getMaxDepth, getPath, postorderIterable, preorderIterable, preorderSpliterator
-
Field Details
-
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
-
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
Defines the limit for theStrokeLineJoin.MITERstyle.Default value:
4.0.References:
- SVG Stroke Properties
- w3.org
-
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
Defines the stroke type used for drawing outline of the figure.Default value:
StrokeType.CENTERED. -
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
-
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)
-