class Area

Package :

(default package)

Extends :

Known subclasses :

Description :

An invisible area that can receive mouse events. The event dispatching is handled by the Stage.

Attributes :

NameDescription
enabledwhether the area should receive mouse events.
stageThe area's stage.

Methods :

new(x, y, w, h)

Creates a new Area object.

Parameters :

contains(p)

Checking if the area contains a point.

Parameters :

equals(area)

Parameters :

intersect(area)

Parameters :

Returns :

true if there is an intersection.

projection()

Getting the area's projection.

Returns :

The projection's object.