AspectRatio

public enum AspectRatio : CustomStringConvertible

Aspect ratio, specifies dimensions for video output

  • active: active preset or specified dimensions (default)
  • square: 1:1 square
  • standard: 3:4
  • standardLandscape: 4:3, landscape
  • widescreen: 9:16 HD
  • widescreenLandscape: 16:9 HD landscape
  • instagram: 4:5 Instagram
  • instagramLandscape: 5:4 Instagram landscape
  • cinematic: 2.35:1 cinematic
  • custom: custom aspect ratio
  • Undocumented

    Declaration

    Swift

    case active
  • Undocumented

    Declaration

    Swift

    case square
  • Undocumented

    Declaration

    Swift

    case standard
  • Undocumented

    Declaration

    Swift

    case standardLandscape
  • Undocumented

    Declaration

    Swift

    case widescreen
  • Undocumented

    Declaration

    Swift

    case widescreenLandscape
  • Undocumented

    Declaration

    Swift

    case instagram
  • Undocumented

    Declaration

    Swift

    case instagramLandscape
  • Undocumented

    Declaration

    Swift

    case cinematic
  • Undocumented

    Declaration

    Swift

    case custom(w: Int, h: Int)
  • Undocumented

    Declaration

    Swift

    public var dimensions: CGSize? { get }
  • Undocumented

    Declaration

    Swift

    public var ratio: CGFloat? { get }
  • Declaration

    Swift

    public var description: String { get }