# MultiPreviewConfig

constructor(width: Int = 0, height: Int = 0, horizontalFlip: Boolean = false, verticalFlip: Boolean = false, aspectRatioMode: AspectRatioMode = AspectRatioMode.Adjust, isPortrait: Boolean = false, viewPort: ViewPort? = null)

#### Parameters

width

the width of the preview. 0 to use preview or encoder resolution

height

the height of the preview. 0 to use preview or encoder resolution

horizontalFlip

true to flip horizontally

verticalFlip

true to flip vertically

aspectRatioMode

aspect ratio mode for this surface

isPortrait

true for portrait orientation, false for landscape

viewPort

viewport for this surface. null for full screen