Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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 动画的场景。