ee.Image.paint

Paints the geometries of a collection onto an image.
UsageReturns
Image.paint(featureCollection, color, width)Image
ArgumentTypeDetails
this: imageImageThe image on which the collection is painted.
featureCollectionFeatureCollectionThe collection painted onto the image.
colorObject, default: 0Either the name of a color property or a number.
widthObject, default: nullEither the name of a line-width property or a number.