setPatternImage

fun setPatternImage(image: Image?)

Update the pattern image for this Polyline.

The pattern image is repeated along the polyline, and it has priority over the solid color from lineColor. However, outlineColor may be seen through transparent portions of the pattern effectively like a background. If you pass null, the pattern image is disabled, which causes the color from lineColor to be used.

Parameters

image

The new pattern image.

Throws

if the operation is not supported by Polyline.