| Modifier | Constructor and Description |
|---|---|
protected |
PathBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Path x) |
Path |
build()
Make an instance of
Path based on the properties set on this builder. |
static PathBuilder<?> |
create()
Creates a new instance of PathBuilder.
|
B |
elements(java.util.Collection<? extends PathElement> x)
Add the given items to the List of items in the
elements property for the instance constructed by this builder. |
B |
elements(PathElement... x)
Add the given items to the List of items in the
elements property for the instance constructed by this builder. |
B |
fillRule(FillRule x)
Set the value of the
fillRule property for the instance constructed by this builder. |
applyTo, fill, smooth, stroke, strokeDashArray, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeType, strokeWidthapplyTo, blendMode, cache, cacheHint, clip, cursor, depthTest, disable, effect, eventDispatcher, focusTraversable, id, inputMethodRequests, layoutX, layoutY, managed, mouseTransparent, 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, onScroll, onScrollFinished, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoom, onZoomFinished, onZoomStarted, opacity, pickOnBounds, rotate, rotationAxis, scaleX, scaleY, scaleZ, style, styleClass, styleClass, transforms, transforms, translateX, translateY, translateZ, userData, visiblepublic static PathBuilder<?> create()
public void applyTo(Path x)
public B elements(java.util.Collection<? extends PathElement> x)
elements property for the instance constructed by this builder.public B elements(PathElement... x)
elements property for the instance constructed by this builder.public B fillRule(FillRule x)
fillRule property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.