PolylineData

open class PolylineData : ViewObjectData

Types

Builder
Link copied to clipboard
class Builder : ViewObjectDataBuilder<PolylineData.Builder, MapPolyline, PolylineData>

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
open fun describeContents(): Int
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
getCornerRadius
Link copied to clipboard
open fun getCornerRadius(): Float
Returns the dash corner radius.
getDashLength
Link copied to clipboard
open fun getDashLength(): Float
Returns the dash length for the dash segment of the MapPolyline.
getLineColor
Link copied to clipboard
open fun getLineColor(): Int
Returns the line color.
getLineWidth
Link copied to clipboard
open fun getLineWidth(): Float
Returns the line width, in pixels.
getPayload
Link copied to clipboard
open fun getPayload(): Parcelable
getPosition
Link copied to clipboard
open fun getPosition(): GeoCoordinates
getScreenPosition
Link copied to clipboard
open fun getScreenPosition(): ViewObjectData.Point
getSecondaryColor
Link copied to clipboard
open fun getSecondaryColor(): Int
Returns the secondary line color (used for dash/border).
getSecondaryDashLength
Link copied to clipboard
open fun getSecondaryDashLength(): Float
Returns the length of secondary dash segment of the MapPolyline.
getVertices
Link copied to clipboard
open fun getVertices(): List<GeoCoordinates>
Returns the GeoCoordinate array that comprise the path of the MapPolyline.
hasBorders
Link copied to clipboard
open fun hasBorders(): Boolean
Indicates whether the MapPolyline should be rendered with antialiased borders.
hashCode
Link copied to clipboard
open fun hashCode(): Int
hasScalableWidth
Link copied to clipboard
open fun hasScalableWidth(): Boolean
Indicates whether the MapPolyline has scalable width by ground distance.
isDashed
Link copied to clipboard
open fun isDashed(): Boolean
Indicates whether the MapPolyline is dashed.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)

Properties

CREATOR
Link copied to clipboard
val CREATOR: Parcelable.Creator<PolylineData>