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
awtFill,
awtStroke,
composite,
fill,
stroke,
strokeComposite,
strokeDashArray,
strokeDashOffset,
strokeLineCap,
strokeLineJoin,
strokeMiterLimit,
strokeWidth,
zvisualnode
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
Operations/Functions
- private getArea()
- protected performOp(area1: java.awt.geom.Area, area2: java.awt.geom.Area)
createNode,
doDragExport,
getF3,
getGlobalBounds,
getNode,
getVisualComponent,
handleAcceptDrop,
handleDragEnter,
handleDragExit,
handleDrop,
installMouseListener,
installMouseMotionListener,
makeCanvasMouseEvent