fork-util
0.1.0-alpha
jvm
fork-util
/
net.peanuuutz.fork.util.common
/
Color
Color
@
JvmInline
value
class
Color
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Properties
alpha
Link copied to clipboard
val
alpha
:
Int
argb
Link copied to clipboard
val
argb
:
Int
blue
Link copied to clipboard
val
blue
:
Int
green
Link copied to clipboard
val
green
:
Int
n
Alpha
Link copied to clipboard
val
nAlpha
:
Float
n
Blue
Link copied to clipboard
val
nBlue
:
Float
n
Green
Link copied to clipboard
val
nGreen
:
Float
n
Red
Link copied to clipboard
val
nRed
:
Float
red
Link copied to clipboard
val
red
:
Int
rgb
Link copied to clipboard
val
rgb
:
Int
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
Int
component2
Link copied to clipboard
operator
fun
component2
(
)
:
Int
component3
Link copied to clipboard
operator
fun
component3
(
)
:
Int
component4
Link copied to clipboard
operator
fun
component4
(
)
:
Int
copy
Link copied to clipboard
fun
copy
(
alpha
:
Float
=
nAlpha
,
red
:
Float
=
nRed
,
green
:
Float
=
nGreen
,
blue
:
Float
=
nBlue
)
:
Color
fun
copy
(
alpha
:
Int
=
this.alpha
,
red
:
Int
=
this.red
,
green
:
Int
=
this.green
,
blue
:
Int
=
this.blue
)
:
Color
is
Specified
Link copied to clipboard
fun
Color
.
isSpecified
(
)
:
Boolean
is
Unspecified
Link copied to clipboard
fun
Color
.
isUnspecified
(
)
:
Boolean
or
Else
Link copied to clipboard
fun
orElse
(
default
:
Color
)
:
Color
or
Else
Link copied to clipboard
inline
fun
Color
.
orElse
(
provider
:
(
)
->
Color
)
:
Color
times
Link copied to clipboard
operator
fun
Color
.
times
(
other
:
Color
)
:
Color
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String