Layer.setProvincePixel

Function/Meaning

Setting the value of the area image

Type
Layerclassmethod of
Syntax
setProvincePixel(x, y, value)
Arguments
x

Specifies the x coordinate (in the image coordinates of the layer) for which you want to set the value.

y

Specify the y coordinate (in the image coordinates of the layer) for which you want to set the value.

value

Specify the value to be set (0 to 255).

Return value
None (void)
Explanation

Layer Area Set a value (0 to 255) at any position in the image.
An exception is thrown if you specify an invalid (out of range) position as the image coordinates.