dispatchOnClick method
Processes event
and calls onClick
on clicked elements.
Implementation
PCanvasClickEvent dispatchOnClick(PCanvasClickEvent event) {
var event2 = _resolveInnerClickEvent(event);
var elements = selectElementAtPoint(event2.point);
elements.dispatchOnClick(event2);
return event2;
}