Conform

public struct Conform : XMLRepresentable

Modifies the image size of a clip to fill, fit, or remain unchanged within its container’s frame size. The type property specifies the conform method to apply, which defaults to fit. With the absence of this adjustment, the clip is fit into the frame size.

  • Specifies the possible types of a conform.

    Declaration

    Swift

    public enum ConformType : String, Codable
  • The type of the conform.

    Declaration

    Swift

    public var type: Conform.ConformType?
  • Initializes a new conform adjustment.

    Declaration

    Swift

    public init(type: ConformType = .fit)

    Parameters

    type

    The type of the conform, fit by default.