- All Superinterfaces:
Figure,PropertyBean,StyleableBean,StyleablePropertyBean,TreeNode<Figure>
- All Known Implementing Classes:
AbstractLabelConnectionFigure,AbstractLabelFigure,LabelFigure,PageLabelFigure,SimpleLabelConnectionFigure,TextAreaFigure
-
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 NullableSvgPathStyleableKeyDefines the border image as an SVG path.static final @NonNull Rectangle2DStyleableMapAccessorstatic final @NonNull DoubleStyleableKeystatic final @NonNull DoubleStyleableKeystatic final @NonNull DoubleStyleableKeyThis property specifies the bounds of aSHAPEproperty.static final @NonNull DoubleStyleableKeystatic final @NonNull CssInsetsStyleableMapAccessorThis property specifies inward offsets from the top, right, bottom, and left edges of the border image defined by theSHAPE_BOUNDSproperty, dividing it into nine regions.static final @NonNull CssSizeStyleableKeystatic final @NonNull CssSizeStyleableKeystatic final @NonNull CssSizeStyleableKeystatic final @NonNull CssSizeStyleableKeyFields inherited from interface org.jhotdraw8.draw.figure.Figure
declaredAndInheritedKeys, JHOTDRAW_CSS_PREFIX, PARENT_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyShapeableProperties(RenderContext ctx, @NonNull javafx.scene.shape.Path node) default voidapplyShapeableProperties(RenderContext ctx, @NonNull javafx.scene.shape.Path node, @NonNull javafx.geometry.Bounds b) 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
-
SHAPE_SLICE_BOTTOM
-
SHAPE_SLICE_LEFT
-
SHAPE_SLICE_RIGHT
-
SHAPE_SLICE_TOP
-
SHAPE_SLICE
This property specifies inward offsets from the top, right, bottom, and left edges of the border image defined by theSHAPE_BOUNDSproperty, dividing it into nine regions. Percentages are relative to the shape bounds: the width for the horizontal offsets, the height for the vertical offsets. Numbers represent pixel units in the image. -
SHAPE_BOUNDS_X
This property specifies the bounds of aSHAPEproperty. If the bounds are null or empty, then the bounds of the shape are used. -
SHAPE_BOUNDS_Y
-
SHAPE_BOUNDS_WIDTH
-
SHAPE_BOUNDS_HEIGHT
-
SHAPE_BOUNDS
-
SHAPE
Defines the border image as an SVG path.Performance: it would be nice if Shape was an already parsed representation. For example a JavaFX Path object.
-
SVG_SQUARE
- See Also:
-
-
Method Details
-
applyShapeableProperties
-
applyShapeableProperties
default void applyShapeableProperties(RenderContext ctx, @NonNull javafx.scene.shape.Path node, @NonNull javafx.geometry.Bounds b)
-