Path

data class Path @JvmOverloads() constructor(color: String?, pulseColor: String?, nearRadius: Double?, farRadius: Double?, drawDuration: Double?, drawConnectionSegments: Boolean?, pulseIterations: Double?, connectionPathOptions: MPIOptions.ConnectionPath?, displayArrowsOnPath: Boolean?)

Path holds the properties of values to be set when path is drawn

Constructors

Path
Link copied to clipboard
fun Path(color: String? = null, pulseColor: String? = null, nearRadius: Double? = null, farRadius: Double? = null, drawDuration: Double? = null, drawConnectionSegments: Boolean? = null, pulseIterations: Double? = null, connectionPathOptions: MPIOptions.ConnectionPath? = null, displayArrowsOnPath: Boolean? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): Double?
component4
Link copied to clipboard
operator fun component4(): Double?
component5
Link copied to clipboard
operator fun component5(): Double?
component6
Link copied to clipboard
operator fun component6(): Boolean?
component7
Link copied to clipboard
operator fun component7(): Double?
component8
Link copied to clipboard
operator fun component8(): MPIOptions.ConnectionPath?
component9
Link copied to clipboard
operator fun component9(): Boolean?
copy
Link copied to clipboard
fun copy(color: String? = null, pulseColor: String? = null, nearRadius: Double? = null, farRadius: Double? = null, drawDuration: Double? = null, drawConnectionSegments: Boolean? = null, pulseIterations: Double? = null, connectionPathOptions: MPIOptions.ConnectionPath? = null, displayArrowsOnPath: Boolean? = null): MPIOptions.Path
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

color
Link copied to clipboard
val color: String? = null
Color of the path drawn
connectionPathOptions
Link copied to clipboard
var connectionPathOptions: MPIOptions.ConnectionPath? = null
Set properties for connection path
displayArrowsOnPath
Link copied to clipboard
var displayArrowsOnPath: Boolean? = null
Whether to display arrow on path drawn
drawConnectionSegments
Link copied to clipboard
var drawConnectionSegments: Boolean? = null
Whether to draw connection segments
drawDuration
Link copied to clipboard
var drawDuration: Double? = null
Duration of drawing
farRadius
Link copied to clipboard
var farRadius: Double? = null
Far radius of the path drawn (in meters since V4)
nearRadius
Link copied to clipboard
var nearRadius: Double? = null
Near radius of the path drawn (in meters since V4)
pulseColor
Link copied to clipboard
var pulseColor: String? = null
Pulse color of the path drawn
pulseIterations
Link copied to clipboard
var pulseIterations: Double? = null
Set the pulse interations