width property
num
get
width
These attributes return the dimensions of the OffscreenCanvas object's bitmap.
They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
Implementation
_i2.num get width => _i4.getProperty(
this,
'width',
);
set
width
(num value)
Implementation
set width(_i2.num value) {
_i4.setProperty(
this,
'width',
value,
);
}