PolylineState

Constructors

Link copied to clipboard
constructor(geometry: Polyline)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Tells if the bound map object is valid or not.

Functions

Link copied to clipboard
fun addArrow(position: PolylinePosition, length: Float, fillColor: Color): Arrow
Link copied to clipboard
fun getPaletteColor(colorIndex: Int): Color

Returns the palette color for the specified index.

Link copied to clipboard
fun getStrokeColor(segmentIndex: Int): Int

Returns the palette index used by segment with the specified index.

Link copied to clipboard
fun hide(subpolylines: List<Subpolyline>)
fun hide(subpolyline: Subpolyline)
Link copied to clipboard
fun select(color: Color, subpolyline: Subpolyline)
Link copied to clipboard
fun setPaletteColor(colorIndex: Int, color: Color)

Sets color in RGBA mode for colorIndex.

Link copied to clipboard
fun setStrokeColors(paletteIndices: List<Int>)
fun setStrokeColors(paletteIndices: List<Int>, weights: List<Double>)

Sets indexes of colors in palette for line segments.

Link copied to clipboard
fun setVisible(visible: Boolean, animation: Animation, onFinished: Callback? = null)

Manages visibility of the object with a transition between the visible and not visible states.