T
- An IGeometry
used to define the geometric shape of this
GeometryNode
public class GeometryNode<T extends IGeometry>
extends javafx.scene.layout.Region
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.
Type | Property and Description |
---|---|
javafx.beans.property.DoubleProperty |
clickableAreaWidth
Returns a (writable) property that controls the width of the clickable
area.
|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
fill
Provides a
Property holding the fill that is applied to the
Path internally used by this GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> |
fillRule
Provides a
Property holding the fill rule to apply for this
GeometryNode . |
javafx.beans.property.ObjectProperty<T> |
geometry
Provides a
Property holding the geometry of this
GeometryNode . |
javafx.beans.property.BooleanProperty |
smooth
Provides a
Property holding the smooth value to apply for this
GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeDashOffset
Provides a
Property holding the stroke dash offset to apply for
this GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> |
strokeLineCap
Provides a
Property holding the stroke line cap to apply for this
GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> |
strokeLineJoin
Provides a
Property holding the stroke line join to apply for
this GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeMiterLimit
Provides a
Property holding the stroke miter limit to apply for
this GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
stroke
Defines parameters of a stroke that is drawn around the outline of a
Shape using the settings of the specified Paint.
|
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> |
strokeType
Provides a
Property holding the stroke type to apply for this
GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeWidth
Provides a
Property holding the stroke width to apply for this
GeometryNode . |
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, impl_showMnemonics, impl_treeVisible, 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, visible
Constructor and Description |
---|
GeometryNode()
Constructs a new
GeometryNode without an IGeometry . |
GeometryNode(T geom)
Constructs a new
GeometryNode which displays the given
IGeometry . |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.DoubleProperty |
clickableAreaWidthProperty()
Returns a (writable) property that controls the width of the clickable
area.
|
protected double |
computeMinHeight(double width) |
protected double |
computeMinWidth(double height) |
protected double |
computePrefHeight(double width) |
protected double |
computePrefWidth(double height) |
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
fillProperty()
Provides a
Property holding the fill that is applied to the
Path internally used by this GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> |
fillRuleProperty()
Provides a
Property holding the fill rule to apply for this
GeometryNode . |
javafx.beans.property.ObjectProperty<T> |
geometryProperty()
Provides a
Property holding the geometry of this
GeometryNode . |
double |
getClickableAreaWidth()
Retrieves the value of the clickable area width property (
clickableAreaWidthProperty() ). |
javafx.scene.paint.Paint |
getFill()
Retrieves the value of the fill property.
|
javafx.scene.shape.FillRule |
getFillRule()
Retrieves the value of the fill rule property.
|
protected javafx.scene.shape.Path |
getGeometricShape()
Returns the
Shape that is used as a delegate to render the
geometry of this GeometryNode . |
T |
getGeometry()
Retrieves the value of the geometry property.
|
javafx.scene.shape.Path |
getPath()
|
javafx.scene.paint.Paint |
getStroke()
Retrieves the value of the stroke property.
|
javafx.collections.ObservableList<java.lang.Double> |
getStrokeDashArray()
Retrieves the value of the stroke dash array property.
|
double |
getStrokeDashOffset()
Retrieves the value of the stroke dash offset property.
|
javafx.scene.shape.StrokeLineCap |
getStrokeLineCap()
Retrieves the value of the stroke line cap property.
|
javafx.scene.shape.StrokeLineJoin |
getStrokeLineJoin()
Retrieves the value of the stroke line join property.
|
double |
getStrokeMiterLimit()
Retrieves the value of the stroke miter limit property.
|
javafx.scene.shape.StrokeType |
getStrokeType()
Retrieves the value of the stroke type property.
|
double |
getStrokeWidth()
Retrieves the value of the stroke width property.
|
boolean |
isResizable() |
boolean |
isSmooth()
Retrieves the value of the smooth property.
|
void |
relocate(double x,
double y) |
void |
relocateGeometry(double x,
double y)
Relocates the
geometry . |
void |
resize(double width,
double height) |
void |
resizeGeometry(double width,
double height)
Resizes the
geometryProperty() to the given width and height. |
void |
setClickableAreaWidth(double clickableAreaWidth)
Sets the value of the property
clickable area width property. |
void |
setFill(javafx.scene.paint.Paint value)
Sets the value of the fill property.
|
void |
setFillRule(javafx.scene.shape.FillRule value)
Sets the value of the fill rule property.
|
protected void |
setGeometricShape(javafx.scene.shape.Path geometricShape)
Sets the geometric shape used by this
GeometryNode . |
void |
setGeometry(T geometry)
Sets the
IGeometry of this GeometryNode to the given
value. |
void |
setSmooth(boolean value)
Sets the value of the smooth property.
|
void |
setStroke(javafx.scene.paint.Paint value)
* Sets the value of the stroke property.
|
void |
setStrokeDashOffset(double value)
Sets the value of the stroke dash offset property.
|
void |
setStrokeLineCap(javafx.scene.shape.StrokeLineCap value)
Sets the value of the stroke line cap property.
|
void |
setStrokeLineJoin(javafx.scene.shape.StrokeLineJoin value)
Sets the value of the stroke line join property.
|
void |
setStrokeMiterLimit(double value)
Sets the value of the stroke miter limit property.
|
void |
setStrokeType(javafx.scene.shape.StrokeType value)
Sets the value of the stroke type property.
|
void |
setStrokeWidth(double value)
Sets the value of the stroke width property.
|
javafx.beans.property.BooleanProperty |
smoothProperty()
Provides a
Property holding the smooth value to apply for this
GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeDashOffsetProperty()
Provides a
Property holding the stroke dash offset to apply for
this GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> |
strokeLineCapProperty()
Provides a
Property holding the stroke line cap to apply for this
GeometryNode . |
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> |
strokeLineJoinProperty()
Provides a
Property holding the stroke line join to apply for
this GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeMiterLimitProperty()
Provides a
Property holding the stroke miter limit to apply for
this GeometryNode . |
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.
|
javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> |
strokeTypeProperty()
Provides a
Property holding the stroke type to apply for this
GeometryNode . |
javafx.beans.property.DoubleProperty |
strokeWidthProperty()
Provides a
Property holding the stroke width to apply for this
GeometryNode . |
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, 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, snapSize, snapSpace, snapToPixelProperty, widthProperty
getBaselineOffset, getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, 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, 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, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, 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, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
public javafx.beans.property.DoubleProperty clickableAreaWidthProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> fillProperty
Property
holding the fill that is applied to the
Path
internally used by this GeometryNode
.getFill()
,
setFill(Paint)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> fillRuleProperty
Property
holding the fill rule to apply for this
GeometryNode
.getFillRule()
,
setFillRule(FillRule)
public javafx.beans.property.ObjectProperty<T extends IGeometry> geometryProperty
Property
holding the geometry of this
GeometryNode
.getGeometry()
,
setGeometry(T)
public final javafx.beans.property.BooleanProperty smoothProperty
Property
holding the smooth value to apply for this
GeometryNode
.isSmooth()
,
setSmooth(boolean)
public final javafx.beans.property.DoubleProperty strokeDashOffsetProperty
Property
holding the stroke dash offset to apply for
this GeometryNode
.getStrokeDashOffset()
,
setStrokeDashOffset(double)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> strokeLineCapProperty
Property
holding the stroke line cap to apply for this
GeometryNode
.public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> strokeLineJoinProperty
Property
holding the stroke line join to apply for
this GeometryNode
.public final javafx.beans.property.DoubleProperty strokeMiterLimitProperty
Property
holding the stroke miter limit to apply for
this GeometryNode
.getStrokeMiterLimit()
,
setStrokeMiterLimit(double)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> strokeProperty
getStroke()
,
setStroke(Paint)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> strokeTypeProperty
Property
holding the stroke type to apply for this
GeometryNode
.getStrokeType()
,
setStrokeType(StrokeType)
public final javafx.beans.property.DoubleProperty strokeWidthProperty
Property
holding the stroke width to apply for this
GeometryNode
.getStrokeWidth()
,
setStrokeWidth(double)
public GeometryNode()
GeometryNode
without an IGeometry
.public GeometryNode(T geom)
GeometryNode
which displays the given
IGeometry
.geom
- The IGeometry
to display.public javafx.beans.property.DoubleProperty clickableAreaWidthProperty()
protected double computeMinHeight(double width)
computeMinHeight
in class javafx.scene.layout.Region
protected double computeMinWidth(double height)
computeMinWidth
in class javafx.scene.layout.Region
protected double computePrefHeight(double width)
computePrefHeight
in class javafx.scene.layout.Region
protected double computePrefWidth(double height)
computePrefWidth
in class javafx.scene.layout.Region
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> fillProperty()
Property
holding the fill that is applied to the
Path
internally used by this GeometryNode
.getFill()
,
setFill(Paint)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.FillRule> fillRuleProperty()
Property
holding the fill rule to apply for this
GeometryNode
.getFillRule()
,
setFillRule(FillRule)
public javafx.beans.property.ObjectProperty<T> geometryProperty()
Property
holding the geometry of this
GeometryNode
.getGeometry()
,
setGeometry(T)
public double getClickableAreaWidth()
clickableAreaWidthProperty()
).clickableAreaWidthProperty()
.public final javafx.scene.paint.Paint getFill()
Shape.getFill()
public final javafx.scene.shape.FillRule getFillRule()
Path.getFillRule()
protected javafx.scene.shape.Path getGeometricShape()
Shape
that is used as a delegate to render the
geometry of this GeometryNode
.GeometryNode
.public T getGeometry()
public javafx.scene.shape.Path getPath()
Path
that is used to visualize the
IGeometry
.public final javafx.scene.paint.Paint getStroke()
Shape.getStroke()
public final javafx.collections.ObservableList<java.lang.Double> getStrokeDashArray()
Shape.getStrokeDashArray()
public final double getStrokeDashOffset()
Shape.getStrokeDashOffset()
public final javafx.scene.shape.StrokeLineCap getStrokeLineCap()
Shape.getStrokeLineCap()
public final javafx.scene.shape.StrokeLineJoin getStrokeLineJoin()
Shape.getStrokeLineJoin()
public final double getStrokeMiterLimit()
Shape.getStrokeMiterLimit()
public final javafx.scene.shape.StrokeType getStrokeType()
Shape.getStrokeType()
public final double getStrokeWidth()
Shape.getStrokeWidth()
public boolean isResizable()
isResizable
in class javafx.scene.layout.Region
public final boolean isSmooth()
Shape.isSmooth()
public void relocate(double x, double y)
relocate
in class javafx.scene.Node
public void relocateGeometry(double x, double y)
geometry
.x
- The new x coordinatey
- The new y coordinatepublic void resize(double width, double height)
resize
in class javafx.scene.layout.Region
public void resizeGeometry(double width, double height)
geometryProperty()
to the given width and height.width
- The new width.height
- The new height.public void setClickableAreaWidth(double clickableAreaWidth)
clickable area width
property.clickableAreaWidth
- The new value of the clickable area width
property.public final void setFill(javafx.scene.paint.Paint value)
value
- The new value of the fill property.Shape.setFill(javafx.scene.paint.Paint)
public final void setFillRule(javafx.scene.shape.FillRule value)
value
- The new value of the fill rule property.Path.setFillRule(javafx.scene.shape.FillRule)
protected void setGeometricShape(javafx.scene.shape.Path geometricShape)
GeometryNode
.geometricShape
- The geometric shape.public void setGeometry(T geometry)
IGeometry
of this GeometryNode
to the given
value.geometry
- The new IGeometry
for this GeometryNode
.public final void setSmooth(boolean value)
value
- The new value of the smooth property.Shape.setSmooth(boolean)
public final void setStroke(javafx.scene.paint.Paint value)
value
- The new value of the stroke property.Shape.setStroke(javafx.scene.paint.Paint)
public final void setStrokeDashOffset(double value)
value
- The new value of the stroke dash offset property.Shape.setStrokeDashOffset(double)
public final void setStrokeLineCap(javafx.scene.shape.StrokeLineCap value)
value
- The new value of the stroke line cap property.Shape.setStrokeLineCap(javafx.scene.shape.StrokeLineCap)
public final void setStrokeLineJoin(javafx.scene.shape.StrokeLineJoin value)
value
- The new value of the stroke line join property.Shape.setStrokeLineJoin(javafx.scene.shape.StrokeLineJoin)
public final void setStrokeMiterLimit(double value)
value
- The new value of the stroke miter limit property.Shape.setStrokeMiterLimit(double)
public final void setStrokeType(javafx.scene.shape.StrokeType value)
value
- The new value of the stroke type property.Shape.setStrokeType(javafx.scene.shape.StrokeType)
public final void setStrokeWidth(double value)
value
- The new value of the stroke width property.Shape.setStrokeWidth(double)
public final javafx.beans.property.BooleanProperty smoothProperty()
Property
holding the smooth value to apply for this
GeometryNode
.isSmooth()
,
setSmooth(boolean)
public final javafx.beans.property.DoubleProperty strokeDashOffsetProperty()
Property
holding the stroke dash offset to apply for
this GeometryNode
.getStrokeDashOffset()
,
setStrokeDashOffset(double)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineCap> strokeLineCapProperty()
Property
holding the stroke line cap to apply for this
GeometryNode
.public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeLineJoin> strokeLineJoinProperty()
Property
holding the stroke line join to apply for
this GeometryNode
.public final javafx.beans.property.DoubleProperty strokeMiterLimitProperty()
Property
holding the stroke miter limit to apply for
this GeometryNode
.getStrokeMiterLimit()
,
setStrokeMiterLimit(double)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> strokeProperty()
getStroke()
,
setStroke(Paint)
public final javafx.beans.property.ObjectProperty<javafx.scene.shape.StrokeType> strokeTypeProperty()
Property
holding the stroke type to apply for this
GeometryNode
.getStrokeType()
,
setStrokeType(StrokeType)
public final javafx.beans.property.DoubleProperty strokeWidthProperty()
Property
holding the stroke width to apply for this
GeometryNode
.getStrokeWidth()
,
setStrokeWidth(double)
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.