Layer.setImageSize

Function/Meaning

Layer image size setting

Type
Layerclassmethod of
Syntax
setImageSize(width, height)
Arguments
width

Specifies the width of the layer image in pixels.
This value can also be obtained and set with the Layer.imageWidth property.

height

Specifies the vertical width of the layer image in pixels.
This value can also be obtained and set with the Layer.imageHeight property.

Return value
None (void)
Explanation

Specifies the layer image size.
When the size is increased, the display size of the layer is not changed, but when the size is reduced, the display size of the layer is also reduced.