toggle menu
Yandex MapKit KMP
null
common
switch theme
search in API
yandex-mapkit-kmp-compose
/
ru.sulgik.mapkit.compose
/
PolylineState
Polyline
State
@
Immutable
class
PolylineState
(
geometry
:
Polyline
)
Members
Constructors
Polyline
State
Link copied to clipboard
constructor
(
geometry
:
Polyline
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
geometry
Link copied to clipboard
var
geometry
:
Polyline
Functions
add
Arrow
Link copied to clipboard
fun
addArrow
(
position
:
PolylinePosition
,
length
:
Float
,
fillColor
:
Color
)
:
Arrow
arrows
Link copied to clipboard
fun
arrows
(
)
:
List
<
Arrow
>
get
Palette
Color
Link copied to clipboard
fun
getPaletteColor
(
colorIndex
:
Int
)
:
Color
get
Stroke
Color
Link copied to clipboard
fun
getStrokeColor
(
segmentIndex
:
Int
)
:
Color
hide
Link copied to clipboard
fun
hide
(
subpolylines
:
List
<
Subpolyline
>
)
fun
hide
(
subpolyline
:
Subpolyline
)
select
Link copied to clipboard
fun
select
(
color
:
Color
,
subpolyline
:
Subpolyline
)
set
Palette
Color
Link copied to clipboard
fun
setPaletteColor
(
colorIndex
:
Int
,
color
:
Color
)
set
Stroke
Colors
Link copied to clipboard
fun
setStrokeColors
(
colors
:
List
<
Color
>
)
fun
setStrokeColors
(
colors
:
List
<
Color
>
,
weights
:
List
<
Double
>
)