ru.dgis.sdk.map.GradientPolylineOptions | Android SDK | 2GIS Documentation
Android SDK

GradientPolylineOptions

Gradient Polyline Options

GradientPolylineOptions(
	borderWidth: LogicalPixel = LogicalPixel(value = 0.0f),
	secondBorderWidth: LogicalPixel = LogicalPixel(value = 0.0f),
	gradientLength: LogicalPixel = LogicalPixel(value = 1.0f),
	borderColor: Color = Color(),
	secondBorderColor: Color = Color(),
	colors: List<Color>,
	colorIndices: ByteArray
)

Gradient Polyline Options

Parameters
borderWidth
secondBorderWidth
gradientLength
borderColor
secondBorderColor
colors
colorIndices
Returns
Properties

Line border width

Width of the second line border

Gradient line length

Border Color.

Second edging color

Gradient Polyline Color Picker

Color indices of the gradient polyline. The number of indices must be 1 less than the number of polyline points.