@Immutable class ColorStops : Iterable<Color>
size
: Int
[Get] |
Signature
val size: Int |
asList
()
|
Signature
fun asList(): List<Color> Returns List |
forEach
(
p0
)
|
Signature
open fun forEach(p0: Consumer<in Color>) Parameters p0: Consumer |
get
(
index
)
|
Signature
operator fun get(index: Int): Color Parameters index: IntReturns Color |
iterator
()
|
Signature
open operator override fun iterator(): Iterator<Color> Returns Iterator |
spliterator
()
|
Signature
open fun spliterator(): Spliterator<Color> Returns Spliterator |
of
(
color
)
|
Creates one color stop.
Signature
fun of(color: Color): ColorStops Parameters color: Color
retained color
Returns ColorStops |
of
(
first
, second
)
|
Creates two ordered color stops.
Signature
fun of(first: Color, second: Color): ColorStops Parameters first: Color
first retained color
second: Color
second retained color
Returns ColorStops |