javafx.ui.canvas

Area

Extends: Shape

The Area class is a device-independent specification of an arbitrarily-shaped area. The Area object is defined as an object that performs certain binary CAG (Constructive Area Geometry) operations on other area-enclosing geometries, such as rectangles, ellipses, and polygons. The CAG operations are Add(union), Subtract, Intersect, and ExclusiveOR. For example, an Area can be made up of the area of a rectangle minus the area of an ellipse. This is an abstract class. The specific operations are provided by subclasses of Area: Add, Subtract, Intersect, and XOR.

Attributes

public shape1: Shape?
the shape which is the first operand to this area operation
public shape2: Shape?
the shape which is the second operand to this area operation

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

private getArea()
protected performOp(area1: java.awt.geom.Area, area2: java.awt.geom.Area)

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