PolylineMapObject

Properties

Link copied to clipboard
actual val arrows: List<Arrow>
expect val arrows: List<Arrow>
actual val arrows: List<Arrow>
Link copied to clipboard
actual var geometry: Polyline
expect var geometry: Polyline
actual var geometry: Polyline
Link copied to clipboard
actual var isDraggable: Boolean
expect var isDraggable: Boolean
actual var isDraggable: Boolean
Link copied to clipboard
actual val isValid: Boolean
expect val isValid: Boolean
actual val isValid: Boolean
Link copied to clipboard
actual var isVisible: Boolean

Manages visibility of the object on the map.

expect var isVisible: Boolean

Manages visibility of the object on the map.

actual var isVisible: Boolean

Manages visibility of the object on the map.

Link copied to clipboard
Link copied to clipboard
actual var style: LineStyle
expect var style: LineStyle
actual var style: LineStyle
Link copied to clipboard
actual var userData: Any?
expect var userData: Any?
actual var userData: Any?
Link copied to clipboard
actual var zIndex: Float
expect var zIndex: Float
actual var zIndex: Float

Functions

Link copied to clipboard
actual fun addArrow(position: PolylinePosition, length: Float, fillColor: Color): Arrow
expect fun addArrow(position: PolylinePosition, length: Float, fillColor: Color): Arrow
actual fun addArrow(position: PolylinePosition, length: Float, fillColor: Color): Arrow
Link copied to clipboard
actual fun addTapListener(tapListener: WeakRef<MapObjectTapListener>)
expect fun addTapListener(tapListener: WeakRef<MapObjectTapListener>)
actual fun addTapListener(tapListener: WeakRef<MapObjectTapListener>)
Link copied to clipboard
actual open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

expect open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

actual open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

Link copied to clipboard
inline fun <T : Any> MapObject.getCastedUserData(): T?
Link copied to clipboard
actual fun getPaletteColor(colorIndex: Int): Color

Returns the palette color for the specified index.

expect fun getPaletteColor(colorIndex: Int): Color

Returns the palette color for the specified index.

actual fun getPaletteColor(colorIndex: Int): Color

Returns the palette color for the specified index.

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

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

expect fun getStrokeColor(segmentIndex: Int): Int

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

actual fun getStrokeColor(segmentIndex: Int): Int

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

Link copied to clipboard
actual open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

expect open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

actual open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

Link copied to clipboard
actual fun hide(subpolylines: List<Subpolyline>)
actual fun hide(subpolyline: Subpolyline)
expect fun hide(subpolylines: List<Subpolyline>)
expect fun hide(subpolyline: Subpolyline)
actual fun hide(subpolylines: List<Subpolyline>)
actual fun hide(subpolyline: Subpolyline)
Link copied to clipboard
Link copied to clipboard
actual fun select(selectionColor: Color, subpolyline: Subpolyline)
expect fun select(selectionColor: Color, subpolyline: Subpolyline)
actual fun select(selectionColor: Color, subpolyline: Subpolyline)
Link copied to clipboard
actual fun setDragListener(dragListener: WeakRef<MapObjectDragListener>?)
expect fun setDragListener(dragListener: WeakRef<MapObjectDragListener>?)
actual fun setDragListener(dragListener: WeakRef<MapObjectDragListener>?)
Link copied to clipboard
actual fun setPaletteColor(colorIndex: Int, color: Color)

Sets color in RGBA mode for colorIndex.

expect fun setPaletteColor(colorIndex: Int, color: Color)

Sets color in RGBA mode for colorIndex.

actual fun setPaletteColor(colorIndex: Int, color: Color)

Sets color in RGBA mode for colorIndex.

Link copied to clipboard
actual fun setStrokeColor(color: Color)

Sets the polyline color.

expect fun setStrokeColor(color: Color)

Sets the polyline color.

actual fun setStrokeColor(color: Color)

Sets the polyline color.

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

Sets indexes of colors in palette for line segments.

expect fun setStrokeColors(paletteIndices: List<Int>)
expect fun setStrokeColors(paletteIndices: List<Int>, weights: List<Double>)

Sets indexes of colors in palette for line segments.

actual fun setStrokeColors(paletteIndices: List<Int>)
actual fun setStrokeColors(paletteIndices: List<Int>, weights: List<Double>)

Sets indexes of colors in palette for line segments.

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

Manages visibility of the object.

expect fun setVisible(visible: Boolean, animation: Animation, onFinished: Callback? = null)

Manages visibility of the object.

actual fun setVisible(visible: Boolean, animation: Animation, onFinished: Callback?)

Manages visibility of the object.

Link copied to clipboard
open override fun toNative(): PolylineMapObject
open override fun toNative(): ERROR CLASS: Symbol not found for NativePolylineMapObject