W3cubDocs

/Dart 2

drawImage method

void drawImage (dynamic image, num sx_OR_x, num sy_OR_y, [ num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh ])

Implementation

void drawImage(/*CanvasImageSource*/ image, num sx_OR_x, num sy_OR_y,
    [num sw_OR_width,
    num height_OR_sh,
    num dx,
    num dy,
    num dw,
    num dh]) native;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/PaintRenderingContext2D/drawImage.html