androidx.camera.viewfinder.compose

Standalone Composable Viewfinder for Camera

Interfaces

CoordinateTransformer

Coordinate transformer that's used to convert coordinates from one space to another.

MutableCoordinateTransformer

CoordinateTransformer where the transformMatrix is mutable.

ViewfinderInitScope

A scoped environment provided when a Viewfinder is first initialized.

Objects

IdentityCoordinateTransformer

CoordinateTransformer where the transformMatrix is the identity matrix.

Composables

Viewfinder

Displays a media stream with the given transformations for crop and rotation while maintaining proper scaling.

Top-level functions summary

MutableCoordinateTransformer

Creates a MutableCoordinateTransformer with the given matrix as the transformMatrix.

Top-level functions

MutableCoordinateTransformer

fun MutableCoordinateTransformer(matrix: Matrix = Matrix()): MutableCoordinateTransformer

Creates a MutableCoordinateTransformer with the given matrix as the transformMatrix.