你的位置:首页 > 软件开发 > 操作系统 > 用UIBezierPath数组对UIView进行镂空处理

用UIBezierPath数组对UIView进行镂空处理

发布时间:2016-07-09 00:00:09
用UIBezierPath数组对UIView进行镂空处理 效果 源码//// CutOutClearView.h// CutOutMaskView//// Created by YouXianMing on 16/7/8.// Copyright © 2016年 ...

用UIBezierPath数组对UIView进行镂空处理

用UIBezierPath数组对UIView进行镂空处理

用UIBezierPath数组对UIView进行镂空处理

 

效果

用UIBezierPath数组对UIView进行镂空处理用UIBezierPath数组对UIView进行镂空处理用UIBezierPath数组对UIView进行镂空处理

 

源码

//// CutOutClearView.h// CutOutMaskView//// Created by YouXianMing on 16/7/8.// Copyright © 2016年 YouXianMing. All rights reserved.//#import <UIKit/UIKit.h>@interface CutOutClearView : UIView@property (nonatomic, strong) UIColor *fillColor;@property (nonatomic, strong) NSArray <UIBezierPath *> *paths;@end

原标题:用UIBezierPath数组对UIView进行镂空处理

关键词:ie

ie
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。