MMMShadowViewSetting

Objective-C

@interface MMMShadowViewSetting : NSObject

Swift

class MMMShadowViewSetting : NSObject

Holds configuration for MMMShadowView.

  • Default is black color.

    Declaration

    Objective-C

    @property (nonatomic) UIColor *_Nonnull color;

    Swift

    var color: UIColor { get set }
  • Default is 0.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat opacity;

    Swift

    var opacity: CGFloat { get set }
  • Default is zero.

    Declaration

    Objective-C

    @property (nonatomic) CGSize offset;

    Swift

    var offset: CGSize { get set }
  • Default is 0.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat radius;

    Swift

    var radius: CGFloat { get set }
  • Default is zero.

    Declaration

    Objective-C

    @property (nonatomic) UIEdgeInsets insets;

    Swift

    var insets: UIEdgeInsets { get set }
  • Default is white color.

    Declaration

    Objective-C

    @property (nonatomic) UIColor *_Nonnull backgroundColor;

    Swift

    var backgroundColor: UIColor { get set }
  • Default is 0.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat cornerRadius;

    Swift

    var cornerRadius: CGFloat { get set }
  • Undocumented

    Declaration

    Objective-C

    - (id)init;

    Swift

    init()
  • Undocumented

    Declaration

    Objective-C

    - (id)initWithBlock:(MMMShadowViewSettingBlock)block;

    Swift

    init(block: @escaping MMMShadowViewSettingBlock)