Package-level declarations

Types

Link copied to clipboard
actual object PAG
expect object PAG
actual object PAG
actual object PAG
actual object PAG
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual open class PAGComposition : PAGLayer
expect open class PAGComposition : PAGLayer
actual open class PAGComposition : PAGLayer
actual open class PAGComposition : PAGLayer
actual open class PAGComposition : PAGLayer
Link copied to clipboard
data class PAGConfig(val repeatCount: Int = INFINITY, val scaleMode: PAGScaleMode = PAGScaleMode.LetterBox, val cachedEnabled: Boolean? = null, val cacheScale: Float? = null, val maxFrameRate: Float? = null, val isSync: Boolean? = null, val videoEnabled: Boolean? = null, val useDiskCache: Boolean? = null, val useCanvas2D: Boolean = false, val cacheAllFramesInMemory: Boolean = false, val renderScale: Float = 1.0f)
Link copied to clipboard
actual class PAGDecoder
expect class PAGDecoder
actual class PAGDecoder
actual class PAGDecoder
actual class PAGDecoder
Link copied to clipboard
actual object PAGDiskCache
expect object PAGDiskCache
actual object PAGDiskCache
actual object PAGDiskCache
actual object PAGDiskCache
Link copied to clipboard
Link copied to clipboard
actual class PAGFont
expect class PAGFont
actual class PAGFont
actual class PAGFont
actual class PAGFont
Link copied to clipboard
actual class PAGImage
expect class PAGImage
actual class PAGImage
actual class PAGImage
actual class PAGImage
Link copied to clipboard
Link copied to clipboard
actual open class PAGLayer
expect open class PAGLayer
actual open class PAGLayer
actual open class PAGLayer
actual open class PAGLayer
Link copied to clipboard
Link copied to clipboard
actual class PAGMarker
expect class PAGMarker
actual class PAGMarker
actual class PAGMarker
actual class PAGMarker
Link copied to clipboard
actual class PAGPlayer
expect class PAGPlayer
actual class PAGPlayer
actual class PAGPlayer
actual class PAGPlayer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual open class PAGState : PlatformView<PlatformPAGView> , Releasable<PlatformPAGView>
expect open class PAGState
actual open class PAGState
actual open class PAGState : PlatformView<PlatformPAGView> , Releasable<PlatformPAGView>
Link copied to clipboard
actual class PAGSurface
expect class PAGSurface
actual class PAGSurface
actual class PAGSurface
actual class PAGSurface
Link copied to clipboard
Link copied to clipboard
actual object PAGVideoDecoder
expect object PAGVideoDecoder
actual object PAGVideoDecoder
actual object PAGVideoDecoder
actual object PAGVideoDecoder
Link copied to clipboard
actual class PAGVideoRange
expect class PAGVideoRange
actual class PAGVideoRange
actual class PAGVideoRange
actual class PAGVideoRange

Functions

Link copied to clipboard
actual fun PAGImageView(composition: PAGComposition?, modifier: Modifier, isPlaying: Boolean, config: PAGConfig)
expect fun PAGImageView(composition: PAGComposition? = null, modifier: Modifier = Modifier, isPlaying: Boolean = false, config: PAGConfig = remember { PAGConfig() })
actual fun PAGImageView(composition: PAGComposition?, modifier: Modifier, isPlaying: Boolean, config: PAGConfig)
actual fun PAGImageView(composition: PAGComposition?, modifier: Modifier, isPlaying: Boolean, config: PAGConfig)
actual fun PAGImageView(composition: PAGComposition?, modifier: Modifier, isPlaying: Boolean, config: PAGConfig)
Link copied to clipboard
actual fun PAGView(state: PAGState, modifier: Modifier, composition: PAGComposition?, isPlaying: Boolean, config: PAGConfig)

原生 PAGView 控件封装, 每个 PAGAnimation 都会创建一个 GPU 渲染上下文。 适用于只渲染单个 pag 动画的场景。

expect fun PAGView(state: PAGState, modifier: Modifier = Modifier, composition: PAGComposition? = null, isPlaying: Boolean = false, config: PAGConfig = remember { PAGConfig() })

原生 PAGView 控件封装, 每个 PAGAnimation 都会创建一个 GPU 渲染上下文。 适用于只渲染单个 pag 动画的场景。

actual fun PAGView(state: PAGState, modifier: Modifier, composition: PAGComposition?, isPlaying: Boolean, config: PAGConfig)

原生 PAGView 控件封装, 每个 PAGAnimation 都会创建一个 GPU 渲染上下文。 适用于只渲染单个 pag 动画的场景。

actual fun PAGView(state: PAGState, modifier: Modifier, composition: PAGComposition?, isPlaying: Boolean, config: PAGConfig)

原生 PAGView 控件封装, 每个 PAGAnimation 都会创建一个 GPU 渲染上下文。 适用于只渲染单个 pag 动画的场景。

actual fun PAGView(state: PAGState, modifier: Modifier, composition: PAGComposition?, isPlaying: Boolean, config: PAGConfig)

原生 PAGView 控件封装, 每个 PAGAnimation 都会创建一个 GPU 渲染上下文。 适用于只渲染单个 pag 动画的场景。

Link copied to clipboard
inline fun <R> PAGImage.use(block: (PAGImage) -> R): R