createCanvasImage abstract method

PCanvasImage createCanvasImage(
  1. Object source, {
  2. int? width,
  3. int? height,
})

Creates a PCanvasImage instance compatible to this canvas and its painter.

Implementation

PCanvasImage createCanvasImage(Object source, {int? width, int? height});