toggle menu
skiko
0.0.0-SNAPSHOT
common
switch theme
search in API
skiko
/
org.jetbrains.skia
/
Color4f
Color4f
class
Color4f
(
val
r
:
Float
,
val
g
:
Float
,
val
b
:
Float
,
val
a
:
Float
=
1.0f
)
Members
Constructors
Color4f
Link copied to clipboard
constructor
(
rgba
:
FloatArray
)
constructor
(
c
:
Int
)
constructor
(
r
:
Float
,
g
:
Float
,
b
:
Float
,
a
:
Float
=
1.0f
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
a
Link copied to clipboard
val
a
:
Float
=
1.0f
b
Link copied to clipboard
val
b
:
Float
g
Link copied to clipboard
val
g
:
Float
r
Link copied to clipboard
val
r
:
Float
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
flatten
Link copied to clipboard
fun
flatten
(
)
:
FloatArray
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
make
Lerp
Link copied to clipboard
fun
makeLerp
(
other
:
Color4f
,
weight
:
Float
)
:
Color4f
to
Color
Link copied to clipboard
fun
toColor
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
with
A
Link copied to clipboard
fun
withA
(
_a
:
Float
)
:
Color4f
with
B
Link copied to clipboard
fun
withB
(
_b
:
Float
)
:
Color4f
with
G
Link copied to clipboard
fun
withG
(
_g
:
Float
)
:
Color4f
with
R
Link copied to clipboard
fun
withR
(
_r
:
Float
)
:
Color4f