- All Superinterfaces:
Figure,PropertyBean,StyleableBean,StyleablePropertyBean,TreeNode<Figure>
Interface for figures which can stroke a marker.
- 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 voidapplyMarkerStrokableFigureProperties(@NonNull javafx.scene.shape.Shape shape) Updates a shape node.default voidapplyMarkerStrokeCapAndJoinProperties(@NonNull javafx.scene.shape.Shape shape) default voidapplyMarkerStrokeColorProperties(@NonNull javafx.scene.shape.Shape shape) default voidapplyMarkerStrokeDashProperties(@NonNull javafx.scene.shape.Shape shape) default voidapplyMarkerStrokeTypeProperties(@NonNull javafx.scene.shape.Shape shape) default voidapplyMarkerStrokeWidthProperties(@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
-
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
-
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
Defines the limit for theStrokeLineJoin.MITERstyle.Default value:
4.0.References:
- SVG Stroke Properties
- w3.org
-
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
Defines the stroke type used for drawing outline of the figure.Default value:
StrokeType.CENTERED. -
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
-
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
-
applyMarkerStrokeDashProperties
-
applyMarkerStrokeTypeProperties
-
applyMarkerStrokableFigureProperties
Updates a shape node.- Parameters:
shape- a shape node
-
applyMarkerStrokeColorProperties
-
applyMarkerStrokeWidthProperties
-