setCap

abstract fun setCap(cap: OmhCap)

Sets the cap of the polyline for both ends.

Parameters

cap

An OmhCap object representing the cap of the polyline.