TransformationInfo


class TransformationInfo


Transformation information associated with the preview output.

This information can be used to transform the Surface of a ViewFinder to be suitable to be displayed.

Summary

Public constructors

TransformationInfo(
    sourceRotation: Int,
    cropRectLeft: Int,
    cropRectRight: Int,
    cropRectTop: Int,
    cropRectBottom: Int,
    shouldMirror: Boolean
)

Public constructors

TransformationInfo

Added in 1.4.0-alpha05
TransformationInfo(
    sourceRotation: Int,
    cropRectLeft: Int,
    cropRectRight: Int,
    cropRectTop: Int,
    cropRectBottom: Int,
    shouldMirror: Boolean
)

Public properties

cropRectBottom

Added in 1.4.0-alpha05
val cropRectBottomInt

cropRectLeft

Added in 1.4.0-alpha05
val cropRectLeftInt

cropRectRight

Added in 1.4.0-alpha05
val cropRectRightInt

cropRectTop

Added in 1.4.0-alpha05
val cropRectTopInt

shouldMirror

Added in 1.4.0-alpha05
val shouldMirrorBoolean

sourceRotation

Added in 1.4.0-alpha05
val sourceRotationInt