translate method
PCanvasClickEvent
translate(
- num translateX,
- num translateY, {
- PCanvasElement? targetElement,
- PCanvas? pCanvas,
Translates this event coordinates.
Implementation
PCanvasClickEvent translate(num translateX, num translateY,
{PCanvasElement? targetElement, PCanvas? pCanvas}) =>
PCanvasClickEvent(type, x + translateX, y + translateY,
targetElement: targetElement,
parentEvent: this,
pCanvas: pCanvas ?? this.pCanvas,
nativeEvent: nativeEvent);