Package org.eclipse.gef.fx.nodes
Class GeometryNode<T extends IGeometry>
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
org.eclipse.gef.fx.nodes.GeometryNode<T>
- Type Parameters:
- T- An- IGeometryused to define the geometric shape of this- GeometryNode
- All Implemented Interfaces:
- javafx.css.Styleable,- javafx.event.EventTarget
A 
GeometryNode is a Node which can be constructed using an
 underlying IGeometry. It is comparable to a Shape, while a
 GeometryNode in contrast can be resized. Furthermore, the geometric
 bounds of a GeometryNode can be virtually extended for the purpose of
 mouse hit-testing to realize a 'clickable area'.
 
 Technically, a GeometryNode is a Region that internally holds
 a geometric shape, which is updated to reflect the given
 IGeometry, and to which all visual properties are delegated. The
 'clickable' area is realized by a transparent, non-mouse transparent overlay
 that uses the same IGeometry, extended by the
 clickable area width.
 
 Please note that because IGeometry does not support change
 notifications itself, changes to the underlying IGeometry will not be
 recognized by the GeometryNode unless the geometry property is changed.
- 
Property SummaryPropertiesTypePropertyDescriptionjavafx.beans.property.DoublePropertyReturns a (writable) property that controls the width of the clickable area.final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>Provides aPropertyholding the fill that is applied to thePathinternally used by thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule>Provides aPropertyholding the fill rule to apply for thisGeometryNode.javafx.beans.property.ObjectProperty<T>Provides aPropertyholding the geometry of thisGeometryNode.final javafx.beans.property.BooleanPropertyProvides aPropertyholding the smooth value to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke dash offset to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap>Provides aPropertyholding the stroke line cap to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin>Provides aPropertyholding the stroke line join to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke miter limit to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>Defines parameters of a stroke that is drawn around the outline of a Shape using the settings of the specified Paint.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType>Provides aPropertyholding the stroke type to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke width to apply for thisGeometryNode.Properties inherited from class javafx.scene.layout.Regionbackground, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.ParentneedsLayoutProperties inherited from class javafx.scene.NodeaccessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
- 
Field SummaryFields inherited from class javafx.scene.layout.RegionUSE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.NodeBASELINE_OFFSET_SAME_AS_HEIGHT
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a newGeometryNodewithout anIGeometry.GeometryNode(T geom) Constructs a newGeometryNodewhich displays the givenIGeometry.
- 
Method SummaryModifier and TypeMethodDescriptionjavafx.beans.property.DoublePropertyReturns a (writable) property that controls the width of the clickable area.protected doublecomputeMinHeight(double width) protected doublecomputeMinWidth(double height) protected doublecomputePrefHeight(double width) protected doublecomputePrefWidth(double height) final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>Provides aPropertyholding the fill that is applied to thePathinternally used by thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule>Provides aPropertyholding the fill rule to apply for thisGeometryNode.javafx.beans.property.ObjectProperty<T>Provides aPropertyholding the geometry of thisGeometryNode.doubleRetrieves the value of the clickable area width property (clickableAreaWidthProperty()).final javafx.scene.paint.PaintgetFill()Retrieves the value of the fill property.final javafx.scene.shape.FillRuleRetrieves the value of the fill rule property.protected javafx.scene.shape.PathReturns theShapethat is used as a delegate to render the geometry of thisGeometryNode.Retrieves the value of the geometry property.javafx.scene.shape.PathgetPath()final javafx.scene.paint.PaintRetrieves the value of the stroke property.final javafx.collections.ObservableList<Double>Retrieves the value of the stroke dash array property.final doubleRetrieves the value of the stroke dash offset property.final javafx.scene.shape.StrokeLineCapRetrieves the value of the stroke line cap property.final javafx.scene.shape.StrokeLineJoinRetrieves the value of the stroke line join property.final doubleRetrieves the value of the stroke miter limit property.final javafx.scene.shape.StrokeTypeRetrieves the value of the stroke type property.final doubleRetrieves the value of the stroke width property.booleanfinal booleanisSmooth()Retrieves the value of the smooth property.voidrelocate(double x, double y) voidrelocateGeometry(double x, double y) Relocates thegeometry.voidresize(double width, double height) voidresizeGeometry(double width, double height) Resizes thegeometryProperty()to the given width and height.voidsetClickableAreaWidth(double clickableAreaWidth) Sets the value of the propertyclickable area widthproperty.final voidsetFill(javafx.scene.paint.Paint value) Sets the value of the fill property.final voidsetFillRule(javafx.scene.shape.FillRule value) Sets the value of the fill rule property.protected voidsetGeometricShape(javafx.scene.shape.Path geometricShape) Sets the geometric shape used by thisGeometryNode.voidsetGeometry(T geometry) Sets theIGeometryof thisGeometryNodeto the given value.final voidsetSmooth(boolean value) Sets the value of the smooth property.final voidsetStroke(javafx.scene.paint.Paint value) * Sets the value of the stroke property.final voidsetStrokeDashOffset(double value) Sets the value of the stroke dash offset property.final voidsetStrokeLineCap(javafx.scene.shape.StrokeLineCap value) Sets the value of the stroke line cap property.final voidsetStrokeLineJoin(javafx.scene.shape.StrokeLineJoin value) Sets the value of the stroke line join property.final voidsetStrokeMiterLimit(double value) Sets the value of the stroke miter limit property.final voidsetStrokeType(javafx.scene.shape.StrokeType value) Sets the value of the stroke type property.final voidsetStrokeWidth(double value) Sets the value of the stroke width property.final javafx.beans.property.BooleanPropertyProvides aPropertyholding the smooth value to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke dash offset to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap>Provides aPropertyholding the stroke line cap to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin>Provides aPropertyholding the stroke line join to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke miter limit to apply for thisGeometryNode.final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>Defines parameters of a stroke that is drawn around the outline of a Shape using the settings of the specified Paint.final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType>Provides aPropertyholding the stroke type to apply for thisGeometryNode.final javafx.beans.property.DoublePropertyProvides aPropertyholding the stroke width to apply for thisGeometryNode.Methods inherited from class javafx.scene.layout.RegionbackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.ParentgetBaselineOffset, getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.NodeaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.StyleablegetStyleableNode
- 
Property Details- 
clickableAreaWidthpublic javafx.beans.property.DoubleProperty clickableAreaWidthPropertyReturns a (writable) property that controls the width of the clickable area. The clickable area is a transparent 'fat' curve overlaying the actual curve and serving as mouse target. It is only used if the value of the property is greater than the stroke width of the underlying curve.
- 
fillpublic final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> fillPropertyProvides aPropertyholding the fill that is applied to thePathinternally used by thisGeometryNode.- See Also:
 
- 
fillRulepublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> fillRulePropertyProvides aPropertyholding the fill rule to apply for thisGeometryNode.- See Also:
 
- 
geometryProvides aPropertyholding the geometry of thisGeometryNode.- See Also:
 
- 
smoothpublic final javafx.beans.property.BooleanProperty smoothPropertyProvides aPropertyholding the smooth value to apply for thisGeometryNode.- See Also:
 
- 
strokeDashOffsetpublic final javafx.beans.property.DoubleProperty strokeDashOffsetPropertyProvides aPropertyholding the stroke dash offset to apply for thisGeometryNode.
- 
strokeLineCappublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> strokeLineCapPropertyProvides aPropertyholding the stroke line cap to apply for thisGeometryNode.
- 
strokeLineJoinpublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> strokeLineJoinPropertyProvides aPropertyholding the stroke line join to apply for thisGeometryNode.
- 
strokeMiterLimitpublic final javafx.beans.property.DoubleProperty strokeMiterLimitPropertyProvides aPropertyholding the stroke miter limit to apply for thisGeometryNode.
- 
strokepublic final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> strokePropertyDefines parameters of a stroke that is drawn around the outline of a Shape using the settings of the specified Paint. The default value is Color.BLACK.- See Also:
 
- 
strokeTypepublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> strokeTypePropertyProvides aPropertyholding the stroke type to apply for thisGeometryNode.- See Also:
 
- 
strokeWidthpublic final javafx.beans.property.DoubleProperty strokeWidthPropertyProvides aPropertyholding the stroke width to apply for thisGeometryNode.- See Also:
 
 
- 
- 
Constructor Details- 
GeometryNodepublic GeometryNode()Constructs a newGeometryNodewithout anIGeometry.
- 
GeometryNodeConstructs a newGeometryNodewhich displays the givenIGeometry.- Parameters:
- geom- The- IGeometryto display.
 
 
- 
- 
Method Details- 
clickableAreaWidthPropertypublic javafx.beans.property.DoubleProperty clickableAreaWidthProperty()Returns a (writable) property that controls the width of the clickable area. The clickable area is a transparent 'fat' curve overlaying the actual curve and serving as mouse target. It is only used if the value of the property is greater than the stroke width of the underlying curve.
- 
computeMinHeightprotected double computeMinHeight(double width) - Overrides:
- computeMinHeightin class- javafx.scene.layout.Region
 
- 
computeMinWidthprotected double computeMinWidth(double height) - Overrides:
- computeMinWidthin class- javafx.scene.layout.Region
 
- 
computePrefHeightprotected double computePrefHeight(double width) - Overrides:
- computePrefHeightin class- javafx.scene.layout.Region
 
- 
computePrefWidthprotected double computePrefWidth(double height) - Overrides:
- computePrefWidthin class- javafx.scene.layout.Region
 
- 
fillPropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> fillProperty()Provides aPropertyholding the fill that is applied to thePathinternally used by thisGeometryNode.- See Also:
 
- 
fillRulePropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> fillRuleProperty()Provides aPropertyholding the fill rule to apply for thisGeometryNode.- See Also:
 
- 
geometryPropertyProvides aPropertyholding the geometry of thisGeometryNode.- See Also:
 
- 
getClickableAreaWidthpublic double getClickableAreaWidth()Retrieves the value of the clickable area width property (clickableAreaWidthProperty()).- Returns:
- The current value of the clickableAreaWidthProperty().
 
- 
getFillpublic final javafx.scene.paint.Paint getFill()Retrieves the value of the fill property.- Returns:
- The value of the fill property.
- See Also:
- 
- Shape.getFill()
 
 
- 
getFillRulepublic final javafx.scene.shape.FillRule getFillRule()Retrieves the value of the fill rule property.- Returns:
- The value of the fill rule property.
- See Also:
- 
- Path.getFillRule()
 
 
- 
getGeometricShapeprotected javafx.scene.shape.Path getGeometricShape()Returns theShapethat is used as a delegate to render the geometry of thisGeometryNode.- Returns:
- The geometric shape used by this GeometryNode.
 
- 
getGeometryRetrieves the value of the geometry property.- Returns:
- The value of the geometry property.
 
- 
getPathpublic javafx.scene.shape.Path getPath()- Returns:
- The JavaFX Paththat is used to visualize theIGeometry.
 
- 
getStrokepublic final javafx.scene.paint.Paint getStroke()Retrieves the value of the stroke property.- Returns:
- The value of the stroke property.
- See Also:
- 
- Shape.getStroke()
 
 
- 
getStrokeDashArrayRetrieves the value of the stroke dash array property.- Returns:
- The value of the stroke dash array property.
- See Also:
- 
- Shape.getStrokeDashArray()
 
 
- 
getStrokeDashOffsetpublic final double getStrokeDashOffset()Retrieves the value of the stroke dash offset property.- Returns:
- The value of the stroke dash offset property.
- See Also:
- 
- Shape.getStrokeDashOffset()
 
 
- 
getStrokeLineCappublic final javafx.scene.shape.StrokeLineCap getStrokeLineCap()Retrieves the value of the stroke line cap property.- Returns:
- The value of the stroke line cap property.
- See Also:
- 
- Shape.getStrokeLineCap()
 
 
- 
getStrokeLineJoinpublic final javafx.scene.shape.StrokeLineJoin getStrokeLineJoin()Retrieves the value of the stroke line join property.- Returns:
- The value of the stroke line join property.
- See Also:
- 
- Shape.getStrokeLineJoin()
 
 
- 
getStrokeMiterLimitpublic final double getStrokeMiterLimit()Retrieves the value of the stroke miter limit property.- Returns:
- The value of the stroke miter limit property.
- See Also:
- 
- Shape.getStrokeMiterLimit()
 
 
- 
getStrokeTypepublic final javafx.scene.shape.StrokeType getStrokeType()Retrieves the value of the stroke type property.- Returns:
- The value of the stroke type property.
- See Also:
- 
- Shape.getStrokeType()
 
 
- 
getStrokeWidthpublic final double getStrokeWidth()Retrieves the value of the stroke width property.- Returns:
- The value of the stroke width property.
- See Also:
- 
- Shape.getStrokeWidth()
 
 
- 
isResizablepublic boolean isResizable()- Overrides:
- isResizablein class- javafx.scene.layout.Region
 
- 
isSmoothpublic final boolean isSmooth()Retrieves the value of the smooth property.- Returns:
- The value of the smooth property.
- See Also:
- 
- Shape.isSmooth()
 
 
- 
relocatepublic void relocate(double x, double y) - Overrides:
- relocatein class- javafx.scene.Node
 
- 
relocateGeometrypublic void relocateGeometry(double x, double y) Relocates thegeometry.- Parameters:
- x- The new x coordinate
- y- The new y coordinate
 
- 
resizepublic void resize(double width, double height) - Overrides:
- resizein class- javafx.scene.layout.Region
 
- 
resizeGeometrypublic void resizeGeometry(double width, double height) Resizes thegeometryProperty()to the given width and height.- Parameters:
- width- The new width.
- height- The new height.
 
- 
setClickableAreaWidthpublic void setClickableAreaWidth(double clickableAreaWidth) Sets the value of the propertyclickable area widthproperty.- Parameters:
- clickableAreaWidth- The new value of the- clickable area widthproperty.
 
- 
setFillpublic final void setFill(javafx.scene.paint.Paint value) Sets the value of the fill property.- Parameters:
- value- The new value of the fill property.
- See Also:
- 
- Shape.setFill(javafx.scene.paint.Paint)
 
 
- 
setFillRulepublic final void setFillRule(javafx.scene.shape.FillRule value) Sets the value of the fill rule property.- Parameters:
- value- The new value of the fill rule property.
- See Also:
- 
- Path.setFillRule(javafx.scene.shape.FillRule)
 
 
- 
setGeometricShapeprotected void setGeometricShape(javafx.scene.shape.Path geometricShape) Sets the geometric shape used by thisGeometryNode.- Parameters:
- geometricShape- The geometric shape.
 
- 
setGeometrySets theIGeometryof thisGeometryNodeto the given value.- Parameters:
- geometry- The new- IGeometryfor this- GeometryNode.
 
- 
setSmoothpublic final void setSmooth(boolean value) Sets the value of the smooth property.- Parameters:
- value- The new value of the smooth property.
- See Also:
- 
- Shape.setSmooth(boolean)
 
 
- 
setStrokepublic final void setStroke(javafx.scene.paint.Paint value) * Sets the value of the stroke property.- Parameters:
- value- The new value of the stroke property.
- See Also:
- 
- Shape.setStroke(javafx.scene.paint.Paint)
 
 
- 
setStrokeDashOffsetpublic final void setStrokeDashOffset(double value) Sets the value of the stroke dash offset property.- Parameters:
- value- The new value of the stroke dash offset property.
- See Also:
- 
- Shape.setStrokeDashOffset(double)
 
 
- 
setStrokeLineCappublic final void setStrokeLineCap(javafx.scene.shape.StrokeLineCap value) Sets the value of the stroke line cap property.- Parameters:
- value- The new value of the stroke line cap property.
- See Also:
- 
- Shape.setStrokeLineCap(javafx.scene.shape.StrokeLineCap)
 
 
- 
setStrokeLineJoinpublic final void setStrokeLineJoin(javafx.scene.shape.StrokeLineJoin value) Sets the value of the stroke line join property.- Parameters:
- value- The new value of the stroke line join property.
- See Also:
- 
- Shape.setStrokeLineJoin(javafx.scene.shape.StrokeLineJoin)
 
 
- 
setStrokeMiterLimitpublic final void setStrokeMiterLimit(double value) Sets the value of the stroke miter limit property.- Parameters:
- value- The new value of the stroke miter limit property.
- See Also:
- 
- Shape.setStrokeMiterLimit(double)
 
 
- 
setStrokeTypepublic final void setStrokeType(javafx.scene.shape.StrokeType value) Sets the value of the stroke type property.- Parameters:
- value- The new value of the stroke type property.
- See Also:
- 
- Shape.setStrokeType(javafx.scene.shape.StrokeType)
 
 
- 
setStrokeWidthpublic final void setStrokeWidth(double value) Sets the value of the stroke width property.- Parameters:
- value- The new value of the stroke width property.
- See Also:
- 
- Shape.setStrokeWidth(double)
 
 
- 
smoothPropertypublic final javafx.beans.property.BooleanProperty smoothProperty()Provides aPropertyholding the smooth value to apply for thisGeometryNode.- See Also:
 
- 
strokeDashOffsetPropertypublic final javafx.beans.property.DoubleProperty strokeDashOffsetProperty()Provides aPropertyholding the stroke dash offset to apply for thisGeometryNode.
- 
strokeLineCapPropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> strokeLineCapProperty()Provides aPropertyholding the stroke line cap to apply for thisGeometryNode.
- 
strokeLineJoinPropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> strokeLineJoinProperty()Provides aPropertyholding the stroke line join to apply for thisGeometryNode.
- 
strokeMiterLimitPropertypublic final javafx.beans.property.DoubleProperty strokeMiterLimitProperty()Provides aPropertyholding the stroke miter limit to apply for thisGeometryNode.
- 
strokePropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> strokeProperty()Defines parameters of a stroke that is drawn around the outline of a Shape using the settings of the specified Paint. The default value is Color.BLACK.- See Also:
 
- 
strokeTypePropertypublic final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> strokeTypeProperty()Provides aPropertyholding the stroke type to apply for thisGeometryNode.- See Also:
 
- 
strokeWidthPropertypublic final javafx.beans.property.DoubleProperty strokeWidthProperty()Provides aPropertyholding the stroke width to apply for thisGeometryNode.- See Also:
 
 
-