ALCutoutConfig Class Reference

Inherits from NSObject
Declared in ALCutoutConfig.h

  widthPercent

@property (nonatomic, assign) CGFloat widthPercent

  maxPercentWidth

@property (nonatomic, assign) CGFloat maxPercentWidth

  maxPercentHeight

@property (nonatomic, assign) CGFloat maxPercentHeight

  alignment

@property (nonatomic, assign) ALCutoutAlignment alignment

  offset

@property (nonatomic, assign) CGPoint offset

  path

@property (nullable, nonatomic, copy) UIBezierPath *path

  cropPadding

@property (nonatomic, assign) CGSize cropPadding

  cropOffset

@property (nonatomic, assign) CGPoint cropOffset

  backgroundColor

@property (nullable, nonatomic, strong) UIColor *backgroundColor

  strokeColor

@property (nullable, nonatomic, strong) UIColor *strokeColor

  feedbackStrokeColor

@property (nullable, nonatomic, strong) UIColor *feedbackStrokeColor

  overlayImage

@property (nullable, nonatomic, strong) UIImage *overlayImage

  strokeWidth

@property (nonatomic, assign) NSInteger strokeWidth

  cornerRadius

@property (nonatomic, assign) NSInteger cornerRadius

  animation

@property (nonatomic, assign) ALCutoutAnimation animation

– setCutoutPathForWidth:height:

- (void)setCutoutPathForWidth:(CGFloat)width height:(CGFloat)height

– updateCutoutWidth:

- (void)updateCutoutWidth:(CGFloat)width

+ defaultCutoutConfig

+ (_Nonnull instancetype)defaultCutoutConfig

– initWithDictionary:

- (instancetype _Nullable)initWithDictionary:(NSDictionary *_Nonnull)configDict

– initWithWidthPercent:maxPercentWidth:maxPercentHeight:alignment:offset:path:cropPadding:cropOffset:backgroundColor:strokeColor:feedbackStrokeColor:overlayImage:strokeWidth:cornerRadius:animation:

- (instancetype _Nullable)initWithWidthPercent:(CGFloat)widthPercent maxPercentWidth:(CGFloat)maxPercentWidth maxPercentHeight:(CGFloat)maxPercentHeight alignment:(ALCutoutAlignment)alignment offset:(CGPoint)offset path:(UIBezierPath *_Nonnull)path cropPadding:(CGSize)cropPadding cropOffset:(CGPoint)cropOffset backgroundColor:(UIColor *_Nonnull)backgroundColor strokeColor:(UIColor *_Nonnull)strokeColor feedbackStrokeColor:(UIColor *_Nonnull)feedbackStrokeColor overlayImage:(UIImage *_Nullable)overlayImage strokeWidth:(NSInteger)strokeWidth cornerRadius:(NSInteger)cornerRadius animation:(ALCutoutAnimation)animation