width property

int width

The width of this canvas element in CSS pixels.

Source

@DomName('HTMLCanvasElement.width')
@DocsEditable()
int get width => _blink.BlinkHTMLCanvasElement.instance.width_Getter_(this);
void width=(int value)

The width of this canvas element in CSS pixels.

Source

@DomName('HTMLCanvasElement.width')
@DocsEditable()
set width(int value) =>
    _blink.BlinkHTMLCanvasElement.instance.width_Setter_(this, value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CanvasElement/width.html