FieldImageLayout

@objcMembers open class FieldImageLayout: FieldLayout

Class for a FieldImage-based Layout.

  • The size of the image field, expressed as a Workspace coordinate system size

    Declaration

    Swift

    open var size: WorkspaceSize
  • Flag determining if this image should be flipped horizontally in RTL rendering.

    Declaration

    Swift

    open var flipRtl: Bool
  • Asynchronously loads this layout’s image in the background and executes a callback on the main thread with the loaded image.

    Declaration

    Swift

    open func loadImage(completion: @escaping ((_ image: UIImage?) -> Void))