toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsglmaps.style
/
DataColorScale
Data
Color
Scale
class
DataColorScale
(
config
:
Map
<
String
,
Any
>
=
emptyMap()
)
Members
Constructors
Data
Color
Scale
Link copied to clipboard
constructor
(
config
:
Map
<
String
,
Any
>
=
emptyMap()
)
Types
RGB
Link copied to clipboard
class
RGB
(
var
red
:
Int
,
var
green
:
Int
,
var
blue
:
Int
)
Properties
gradient
Link copied to clipboard
val
gradient
:
Boolean
stop
Colors
Link copied to clipboard
val
stopColors
:
List
<
String
>
stop
Values
Link copied to clipboard
val
stopValues
:
List
<
Double
>
Functions
get
Color
Link copied to clipboard
fun
getColor
(
value
:
Double
)
:
Any
get
Color
No
Ramp
Link copied to clipboard
fun
getColorNoRamp
(
value
:
Double
)
:
Any
get
Value
Link copied to clipboard
fun
getValue
(
color
:
Any
,
channel
:
Int
=
0
)
:
Double
set
Color
Stops
Link copied to clipboard
fun
setColorStops
(
stops
:
List
<
Any
>
,
normalized
:
Boolean
=
false
)
set
Interval
Link copied to clipboard
fun
setInterval
(
interval
:
Double
)
set
Value
Range
Link copied to clipboard
fun
setValueRange
(
range
:
ValueRange
)