Skip to content

wuchuanyu/WCYArrowRectView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 27, 2017
23b921f · Jul 27, 2017

History

10 Commits
Oct 22, 2016
Jul 27, 2017
Oct 22, 2016
Jun 3, 2016
Jun 8, 2016

Repository files navigation

WCYArrowRectView

带箭头的矩形View

可自定义属性(所有属性均可通过xib调整):圆角、画线宽度、虚线线宽、虚线间隔、边框颜色、填充颜色、箭头宽高、箭头位置、箭头偏移

箭头位置说明:

enum 说明
TopLeft 上边居左,arrowOffset为距左边偏移量
TopMiddle 上边居中,arrowOffset无效
TopRight 上边居右,arrowOffset为距右边偏移量
BottomLeft 下边居左,arrowOffset为距左边偏移量
BottomMiddle 下边居中,arrowOffset无效
BottomRight 下边居右,arrowOffset为距右边偏移量
LeftTop 左边居上,arrowOffset为距上边偏移量
LeftMiddle 左边居中,arrowOffset无效
LeftBottom 左边居右,arrowOffset为距下边偏移量
RightTop 右边居上,arrowOffset为距上边偏移量
RightMiddle 右边居中,arrowOffset无效
RightBottom 右边居下,arrowOffset为距下边偏移量

WCYArrowRectView

About

带箭头的矩形View

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages