redraw method

void redraw()

Redraws a Picture, which can be useful if the backing #element is an HTML Canvas or HTML Video that has changed. This will not attempt to reload any image. If you need to do that, call #reloadSource.

This does not need to be called within a transaction, and will not re-measure anything. @since 2.1

Implementation

void redraw() {
  _i4.callMethod(
    this,
    'redraw',
    [],
  );
}