Layer.getMainPixel

機能/意味
Get main image color
タイプ
Layerクラスのメソッド
構文
getMainPixel(x, y)
引数
x  Specifies the x coordinate (in image coordinates of the layer) from which to get the color.
y  Specifies the y coordinate (in image coordinates of the layer) from which to get the color.
戻り値
0xRRGGBB format color number
説明
 Gets the color at any position in the layer main image (the image that holds the color).
 Specifying an invalid (out of range) location as an image coordinate will raise an exception.