PinImageViewPreferences

struct PinImageViewPreferences

Pin image view preferences

  • Size

    Declaration

    Swift

    public var size: CGSize
  • Position

    Declaration

    Swift

    public var position: Position
  • Horizontal offset

    Declaration

    Swift

    public var horizontalOffset: CGFloat
  • Vertical offset

    Declaration

    Swift

    public var verticalOffset: CGFloat
  • Background color, default value is .clear

    Declaration

    Swift

    public var backgroundColor: SFWColor
  • Tint color, optional

    Declaration

    Swift

    public var tintColor: SFWColor?
  • Initiates a pin image view preferences

    Declaration

    Swift

    public init(size: CGSize,
                position: Position,
                horizontalOffset: CGFloat = 0,
                verticalOffset: CGFloat = 0)

    Parameters

    size

    Size

    position

    Position

    horizontalOffset

    Horizontal offset, default value is 0

    verticalOffset

    Vertical offset, default value is 0