RSDImagePlacementType

public struct RSDImagePlacementType : RawRepresentable, Codable, Hashable, Equatable

A hint as to where the UI should place an image.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • Smaller presentation of an icon image before the content.

    Declaration

    Swift

    public static let iconBefore: RSDImagePlacementType
  • Smaller presentation of an icon image after the content.

    Declaration

    Swift

    public static let iconAfter: RSDImagePlacementType
  • Fullsize in the background.

    Declaration

    Swift

    public static let fullsizeBackground: RSDImagePlacementType
  • Top half of the background contrained to the top rather than to the safe area.

    Declaration

    Swift

    public static let topBackground: RSDImagePlacementType
  • Top half of the background constraind to the safe area.

    Declaration

    Swift

    public static let topMarginBackground: RSDImagePlacementType