Layer.setProvincePixel

Function/Meaning
Setting the province image value
Type
Method of the Layer class
Syntax
setProvincePixel(x, y, value)
Arguments
x Specifies the x-coordinate (in layer image coordinates) where the value is to be set.
y Specifies the y-coordinate (in layer image coordinates) where the value is to be set.
value Specifies the value to be set (0-255).
Return Value
None (void)
Description
Sets the value (0-255) at an arbitrary position in the layer province image.
An exception will be thrown if a position that is invalid (out of range) for the image coordinates is specified.