Package-level declarations

Types

Link copied to clipboard
@Serializable
data class EdgeInsets(var top: Int, var left: Int, var bottom: Int, var right: Int)

Represents inset distances from each edge of a rectangular area.

Link copied to clipboard
open class ImageScreenObject(id: String? = null) : ScreenObject

Renders an image as part of an offscreen composition.

Link copied to clipboard

Renders another media source's video composition inside a screen.

Link copied to clipboard
interface Renderer

Lays out and draws screen objects using a rendering backend.

Link copied to clipboard
abstract class Screen(val context: Context) : ScreenObjectContainer

The root container for an offscreen video composition.

Link copied to clipboard
class ScreenCoordinateTransform(val screenSize: Size, val previewSize: Size, val videoGravity: VideoGravity = VideoGravity.RESIZE_ASPECT)

Converts between composition pixels and preview-local pixels using centered videoGravity.

Link copied to clipboard
abstract class ScreenObject(id: String?, val target: Int = GLES20.GL_TEXTURE_2D)

Base class for objects rendered in a Screen.

Link copied to clipboard
open class ScreenObjectContainer(id: String? = null) : ScreenObject

A container that lays out and draws child screen objects.

Link copied to clipboard
class ScreenObjectEditor(screen: ScreenObject, objects: List<ScreenObject> = emptyList(), val minimumSize: Float = 24.0f)

Hit testing, positioning and proportional resizing for editable direct children of a composition.

Link copied to clipboard

Recreates screen objects from snapshots using built-in types and registered custom creators.

Link copied to clipboard

Renders text as a bitmap in an offscreen composition.

Link copied to clipboard
open class VideoScreenObject(id: String? = null, target: Int = GLES11Ext.GL_TEXTURE_EXTERNAL_OES) : ScreenObject

Renders a video track as part of an offscreen composition.