copyRectangle method

PCanvasPixels? copyRectangle(
  1. PRectangle r
)

Implementation

PCanvasPixels? copyRectangle(PRectangle r) =>
    copyRect(r.x.toInt(), r.y.toInt(), r.width.toInt(), r.height.toInt());