setVisible

abstract fun setVisible(visible: Boolean)

Sets the visibility of the polygon.

Parameters

visible

A boolean indicating whether the polygon should be visible.