KNAlterRouteInfo
INFO
This English reference is based on Directions SDK with UI 1.12.8-hotfix02 (as of 2026-07-24). For the latest version, see the Korean reference.
Sets the line and outline thickness and color of an alternative route. Alternative routes are displayed in a single color.
Example code — KNAlterRouteInfo
kotlin
class KNAlterRouteInfoProperties
| Name | Description | Type |
|---|---|---|
lineWidth | Sets the line thickness of the alternative route | var lineWidth: Float |
strokeWidth | Sets the outline thickness of the alternative route | var strokeWidth: Float |
lineColor | Line color information of the alternative route | var lineColor: Int |
strokeColor | Outline color information of the alternative route | var strokeColor: Int |