ImageFormat

public struct ImageFormat : RawRepresentable, Equatable, Hashable, Sendable

图片格式可扩展枚举

  • Declaration

    Swift

    public typealias RawValue = Int
  • Undocumented

    Declaration

    Swift

    public static let undefined: ImageFormat
  • Undocumented

    Declaration

    Swift

    public static let jpeg: ImageFormat
  • png

    Undocumented

    Declaration

    Swift

    public static let png: ImageFormat
  • gif

    Undocumented

    Declaration

    Swift

    public static let gif: ImageFormat
  • Undocumented

    Declaration

    Swift

    public static let tiff: ImageFormat
  • Undocumented

    Declaration

    Swift

    public static let webp: ImageFormat
  • Undocumented

    Declaration

    Swift

    public static let heic: ImageFormat
  • Undocumented

    Declaration

    Swift

    public static let heif: ImageFormat
  • pdf

    Undocumented

    Declaration

    Swift

    public static let pdf: ImageFormat
  • svg

    Undocumented

    Declaration

    Swift

    public static let svg: ImageFormat
  • Declaration

    Swift

    public var rawValue: Int
  • Declaration

    Swift

    public init(rawValue: Int)
  • Undocumented

    Declaration

    Swift

    public init(_ rawValue: Int)