toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.color
/
RGBAPremultiplied
RGBAPremultiplied
inline
class
RGBAPremultiplied
(
val
value
:
Int
)
Members
Members & Extensions
Constructors
RGBAPremultiplied
Link copied to clipboard
constructor
(
rgb
:
Int
,
a
:
Int
)
constructor
(
r
:
Int
,
g
:
Int
,
b
:
Int
,
a
:
Int
)
constructor
(
value
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
a
Link copied to clipboard
val
a
:
Int
ad
Link copied to clipboard
val
ad
:
Double
af
Link copied to clipboard
val
af
:
Float
b
Link copied to clipboard
val
b
:
Int
bd
Link copied to clipboard
val
bd
:
Double
bf
Link copied to clipboard
val
bf
:
Float
depremultiplied
Link copied to clipboard
val
depremultiplied
:
RGBA
depremultiplied
Accurate
Link copied to clipboard
val
depremultipliedAccurate
:
RGBA
depremultiplied
Accurate
Alt
Link copied to clipboard
val
depremultipliedAccurateAlt
:
RGBA
depremultiplied
Fast
Link copied to clipboard
val
depremultipliedFast
:
RGBA
g
Link copied to clipboard
val
g
:
Int
gd
Link copied to clipboard
val
gd
:
Double
gf
Link copied to clipboard
val
gf
:
Float
hex
String
Link copied to clipboard
val
hexString
:
String
html
Color
Link copied to clipboard
val
htmlColor
:
String
html
String
Simple
Link copied to clipboard
val
htmlStringSimple
:
String
r
Link copied to clipboard
val
r
:
Int
rd
Link copied to clipboard
val
rd
:
Double
rf
Link copied to clipboard
val
rf
:
Float
rgb
Link copied to clipboard
val
rgb
:
Int
value
Link copied to clipboard
val
value
:
Int
Functions
as
Non
Premultiplied
Link copied to clipboard
fun
RGBAPremultiplied
.
asNonPremultiplied
(
)
:
RGBA
as
Straight
Link copied to clipboard
fun
RGBAPremultiplied
.
asStraight
(
)
:
RGBA
mix
Link copied to clipboard
infix
fun
RGBAPremultiplied
.
mix
(
src
:
RGBAPremultiplied
)
:
RGBAPremultiplied
fun
RGBAPremultiplied
.
mix
(
other
:
RGBAPremultiplied
,
ratio
:
Double
)
:
RGBAPremultiplied
scaled
Link copied to clipboard
fun
scaled
(
alpha
:
Double
)
:
RGBAPremultiplied
fun
scaled
(
alpha
:
Float
)
:
RGBAPremultiplied
scaled256
Link copied to clipboard
fun
scaled256
(
s
:
Int
)
:
RGBAPremultiplied
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
to
Vector3D
Link copied to clipboard
fun
RGBAPremultiplied
.
toVector3D
(
out
:
MVector4
=
MVector4()
)
:
MVector4
to
Vector4
Link copied to clipboard
fun
RGBAPremultiplied
.
toVector4
(
)
:
Vector4F