toInnerClickEvent method

  1. @override
PCanvasClickEvent toInnerClickEvent(
  1. PCanvasClickEvent event, {
  2. PCanvasElement? targetElement,
  3. PCanvas? pCanvas,
})
override

Returns an event translated to the internal coordinates of this element.

Implementation

@override
PCanvasClickEvent toInnerClickEvent(PCanvasClickEvent event,
        {PCanvasElement? targetElement, PCanvas? pCanvas}) =>
    event.copyWith(targetElement: targetElement, pCanvas: pCanvas);