SESL Material
Toggle table of contents
1.12.0+1.0.31-sesl8+rev0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SESL Material
SESL Material
/
com.google.android.material.color.utilities
/
Blend
Blend
@
RestrictTo
(
value
=
LIBRARY_GROUP
)
open
class
Blend
Functions for blending in HCT and CAM16.
Members
Functions
cam16Ucs
Link copied to clipboard
open
fun
cam16Ucs
(
from
:
Int
,
to
:
Int
,
amount
:
Double
)
:
Int
Blend in CAM16-UCS space.
harmonize
Link copied to clipboard
open
fun
harmonize
(
designColor
:
Int
,
sourceColor
:
Int
)
:
Int
Blend the design color's HCT hue towards the key color's HCT hue, in a way that leaves the original color recognizable and recognizably shifted towards the key color.
hct
Hue
Link copied to clipboard
open
fun
hctHue
(
from
:
Int
,
to
:
Int
,
amount
:
Double
)
:
Int
Blends hue from one color into another.