| Modifier | Constructor and Description |
|---|---|
protected |
PolygonBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Polygon x) |
Polygon |
build()
Make an instance of
Polygon based on the properties set on this builder. |
static PolygonBuilder<?> |
create()
Creates a new instance of PolygonBuilder.
|
B |
points(java.util.Collection<? extends java.lang.Double> x)
Add the given items to the List of items in the
points property for the instance constructed by this builder. |
B |
points(java.lang.Double... x)
Add the given items to the List of items in the
points 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 PolygonBuilder<?> create()
public void applyTo(Polygon x)
public B points(java.util.Collection<? extends java.lang.Double> x)
points property for the instance constructed by this builder.public B points(java.lang.Double... x)
points 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.