> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# VIVideoResizeMode

Enum that represents types of video renderer scaling.

@objc enum VIVideoResizeMode

## Values

### case fill

Video frame is scaled to fill the size of the view by maintaining the aspect ratio. Some portion of the video frame may be clipped.

### case fit

Video frame is scaled to be fit the size of the view by maintaining the aspect ratio (black borders may be displayed).

## Initializers

### init(rawValue:)

init?(rawValue: Int)

Inherited from `RawRepresentable.init(rawValue:)`.

## Properties

### description

var description: String \{ get }

Resize mode description.

## Default Implementations

### Equatable Implementations

Equatable.!=(*:*:)

### RawRepresentable Implementations

RawRepresentable.hash(into:) RawRepresentable.hashValue

## Relationships

**Conforms To:** Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable, Swift.RawRepresentable