EventZone

data class EventZone<DOMAIN>(datum: Datum<DOMAIN>, zone: Zone, origin: Point)

An EventZone is generated when an user interaction event occurs, it stores various properties concerning the event origin.

See also

Constructors

EventZone
Link copied to clipboard
common
fun <DOMAIN> EventZone(datum: Datum<DOMAIN>, zone: Zone, origin: Point = zone.center)

Properties

datum
Link copied to clipboard
common
val datum: Datum<DOMAIN>
The Datum from which the sign that triggers an event originated.
origin
Link copied to clipboard
common
val origin: Point
Give an optional origin to your zone, to define where the cursor and tooltip should point to.
zone
Link copied to clipboard
common
val zone: Zone
The interactive Zone in the Mark that triggers.