目录
paint(featureCollection, color, width)
简介
* 使用 paint() 将矢量几何图形转换为图像。
* 这会生成一条 “瘦 ”线,用 8 邻域表示。
* 此外,所有特征都将在像素中具有相同(指定)的数值。
* 图像分辨率以像素为单位(即不指定比例)。
函数
byte()
Casts the input value to an unsigned 8-bit integer.
将输入值转换为无符号 8 位整数。
Arguments:
this:value (Image):
The image to which the operation is applied.
Returns: Image
paint(featureCollection, color, width)
Paints the geometries of a collection onto an image, using the given 'color' value to replace each ba