@Immutable interface BrushSpec
brush
: Brush
[Get] |
Signature
abstract val brush: Brush |
colors
: ColorStops
[Get] |
Signature
abstract val colors: ColorStops |
@Immutable data class Solid(val color: Color) : BrushSpec
Solid
(
color
)
|
Signature
constructor(color: Color) Parameters color: ColorReturns BrushSpec.Solid |
brush
: Brush
[Get] |
Signature
open override val brush: Brush |
color
: Color
[Get] |
Signature
val color: Color |
colors
: ColorStops
[Get] |
Signature
open override val colors: ColorStops |
@Immutable data class VerticalGradient(val top: Color, val bottom: Color) : BrushSpec
VerticalGradient
(
top
, bottom
)
|
Signature
constructor(top: Color, bottom: Color) Parameters top: Colorbottom: ColorReturns BrushSpec.VerticalGradient |
bottom
: Color
[Get] |
Signature
val bottom: Color |
brush
: Brush
[Get] |
Signature
open override val brush: Brush |
colors
: ColorStops
[Get] |
Signature
open override val colors: ColorStops |
top
: Color
[Get] |
Signature
val top: Color |