AnimatedWebp

actual class AnimatedWebp
expect class AnimatedWebp
actual class AnimatedWebp

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion

Properties

Link copied to clipboard
actual val frameCount: Int
expect val frameCount: Int
actual val frameCount: Int
Link copied to clipboard
actual val height: Int
expect val height: Int
actual val height: Int
Link copied to clipboard
actual val width: Int
expect val width: Int
actual val width: Int

Functions

Link copied to clipboard
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)
Link copied to clipboard
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?