javafx.ui.canvas

Polygon

Extends: Shape

Draws a closed polygon defined by a sequence of points [x1, y1, x2, y2,..., xN, yN]. The figure is automatically closed by drawing a line connecting the final point to the first point, if those points are different.

Attributes

public points: Number*
The list of points that define this polygon
private zpolygon: net.java.javafx.jazz.component.ZPolygon

Attributes Inherited from javafx.ui.canvas.Shape

awtShape, awtTransform, awtTransformedShape, fillRule, outline, pathLength, transformListener, zshape

Attributes Inherited from javafx.ui.canvas.VisualNode

awtFill, awtStroke, composite, fill, stroke, strokeComposite, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeWidth, zvisualnode

Attributes Inherited from javafx.ui.canvas.Node

ag, alignmentTransform, antialiasClip, bounds, cachedCanvas, canAcceptDrop, cg, clip, clipNode, currentHeight, currentWidth, currentX, currentY, cursor, dragCount, exportAsDrag, exportDrag, fadeGroup, filter, filterGroup, focusable, focused, halign, hover, id, isSelectionRoot, mouseListener, mouseMotionListener, onDragEnter, onDragExit, onDrop, onKeyDown, onKeyTyped, onKeyUp, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, opacity, scaleToFitCanvas, selectable, sg, tg, toolTipText, valign, visible

Attributes Inherited from javafx.ui.canvas.CanvasElement

parentCanvasElement

Attributes Inherited from javafx.ui.canvas.Transformable

affineTransform, transform

Attributes Inherited from javafx.ui.canvas.AbstractPathElement

path

Operations/Functions Inherited from javafx.ui.canvas.Shape

angleAt, createShape, getAWTShape, getAWTTransformedShape, getShape, getTransformedShape, length, pointAt, toPath, transformAt

Operations/Functions Inherited from javafx.ui.canvas.VisualNode

createVisualNode

Operations/Functions Inherited from javafx.ui.canvas.Node

createNode, doDragExport, getF3, getGlobalBounds, getNode, getVisualComponent, handleAcceptDrop, handleDragEnter, handleDragExit, handleDrop, installMouseListener, installMouseMotionListener, makeCanvasMouseEvent

Operations/Functions Inherited from javafx.ui.canvas.CanvasElement

getCanvas, getContainer, hasParent, lower, onSetCanvas, raise, toBack, toFront

Operations/Functions Inherited from javafx.ui.canvas.Transformable

onTransformChanged, updateTransform

Operations/Functions Inherited from javafx.ui.canvas.AbstractPathElement

addTo