Layer.width

Function/Meaning
Width
Type
Layer class property (read/write)
Description
Specifies the display width of the layer in pixels.
The value can also be set.
Reference
Layer.setSize