Layer.width

Function/Meaning
Width
Type
Layer Class Properties
Explanation

Specifies the display width of the layer in pixels.
You can also set the value.

Reference
Layer.setSize