Rachel
Toggle table of contents
3.5.0
android
common
skiko
Target filter
android
common
skiko
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.plugin.animated-webp-decoder
/
love.yinlin.compose.graphics
/
AnimatedWebp
Animated
Webp
android
common
skiko
@
Stable
actual
class
AnimatedWebp
@
Stable
expect
class
AnimatedWebp
@
Stable
actual
class
AnimatedWebp
Members
Types
Companion
Link copied to clipboard
android
common
skiko
actual
object
Companion
expect
object
Companion
actual
object
Companion
Properties
frame
Count
Link copied to clipboard
android
common
skiko
actual
val
frameCount
:
Int
expect
val
frameCount
:
Int
actual
val
frameCount
:
Int
height
Link copied to clipboard
android
common
skiko
actual
val
height
:
Int
expect
val
height
:
Int
actual
val
height
:
Int
width
Link copied to clipboard
android
common
skiko
actual
val
width
:
Int
expect
val
width
:
Int
actual
val
width
:
Int
Functions
draw
Frame
Link copied to clipboard
android
common
skiko
actual
fun
DrawScope
.
drawFrame
(
index
:
Int
,
dst
:
Rect
,
alpha
:
Float
,
filter
:
ColorFilter
?
,
blendMode
:
BlendMode
)
actual
fun
DrawScope
.
drawFrame
(
index
:
Int
,
position
:
Offset
,
size
:
Size
,
alpha
:
Float
,
filter
:
ColorFilter
?
,
blendMode
:
BlendMode
)
expect
fun
DrawScope
.
drawFrame
(
index
:
Int
,
dst
:
Rect
,
alpha
:
Float
=
1.0f
,
filter
:
ColorFilter
?
=
null
,
blendMode
:
BlendMode
=
BlendMode.SrcOver
)
expect
fun
DrawScope
.
drawFrame
(
index
:
Int
,
position
:
Offset
=
Offset.Zero
,
size
:
Size
=
Size(width.toFloat(), height.toFloat())
,
alpha
:
Float
=
1.0f
,
filter
:
ColorFilter
?
=
null
,
blendMode
:
BlendMode
=
BlendMode.SrcOver
)
actual
fun
DrawScope
.
drawFrame
(
index
:
Int
,
dst
:
Rect
,
alpha
:
Float
,
filter
:
ColorFilter
?
,
blendMode
:
BlendMode
)
actual
fun
DrawScope
.
drawFrame
(
index
:
Int
,
position
:
Offset
,
size
:
Size
,
alpha
:
Float
,
filter
:
ColorFilter
?
,
blendMode
:
BlendMode
)
encode
Link copied to clipboard
android
common
skiko
actual
fun
encode
(
format
:
ImageFormat
,
quality
:
ImageQuality
)
:
ByteArray
?
expect
fun
encode
(
format
:
ImageFormat
=
ImageFormat.WEBP
,
quality
:
ImageQuality
=
ImageQuality.Full
)
:
ByteArray
?
actual
fun
encode
(
format
:
ImageFormat
,
quality
:
ImageQuality
)
:
ByteArray
?