Rachel
Toggle table of contents
3.7.2
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.palette
/
love.yinlin.compose.ui.container
/
Palette
/
Swatch
Swatch
@
Stable
class
Swatch
(
val
rgb
:
Int
,
val
population
:
Int
)
代表调色板中的一种颜色及其像素占比
Members
Constructors
Swatch
Link copied to clipboard
constructor
(
rgb
:
Int
,
population
:
Int
)
Properties
body
Color
Link copied to clipboard
val
bodyColor
:
Color
body
Text
Color
Link copied to clipboard
val
bodyTextColor
:
Int
color
Link copied to clipboard
val
color
:
Color
hsl
Link copied to clipboard
val
hsl
:
FloatArray
population
Link copied to clipboard
val
population
:
Int
rgb
Link copied to clipboard
val
rgb
:
Int
title
Color
Link copied to clipboard
val
titleColor
:
Color
title
Text
Color
Link copied to clipboard
val
titleTextColor
:
Int
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String