MAPuzzleShapeView 0.0.2

MAPuzzleShapeView 0.0.2

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新版本2014年12月

Ardelean Madalina 维护。



  • Madalina Ardelean

在一个矩形视图中,不同侧面绘制了拼图形状。

安装

MAPuzzleShapeView.h/m 拖放到您的项目中。

用法

CGRect frame = CGRectMake(0.f, 0.f, 200.f, 100.f);

MAPuzzleShapeView puzzleShapeView = [[MAPuzzleShapeView alloc] initWithFrame:CGRectZero];
puzzleShapeView.shapeLength = 30.f;
puzzleShapeView.shapeAlignment = UIViewShapeAlignmentOnX;
puzzleShapeView.backgroundColor = [UIColor lightGrayColor];

[self.view addSubview:puzzleShapeView];

屏幕截图

Screenshot Screenshot