One Logo Pool Ball
MapKit · IOS API REFERENCE

MKGradientPolylineRenderer

class · iOS 14.0+ · SDK 27.1

class MKGradientPolylineRenderer

Members (4)

init

init

TypeScript
static init(): MKGradientPolylineRenderer
Swift declaration
init()
get · iOS 14.0+

colors

TypeScript
get colors(): Array<_UIKit_UIColor>
Swift declaration
var colors: [UIColor] { get }
get · iOS 14.0+

locations

TypeScript
get locations(): Array<number>
Swift declaration
var locations: [CGFloat] { get }
method · iOS 14.0+

setColors

TypeScript
setColors(colors: Array<_UIKit_UIColor>, locations: Array<number>): void
Swift declaration
func setColors(_ colors: [UIColor], locations: [CGFloat])

Skipped declarations

No declarations were skipped in this snapshot.

All MapKit types →