COBezierTableView icon indicating copy to clipboard operation
COBezierTableView copied to clipboard

How to Create Half Circle

Open alipishvaee opened this issue 6 years ago • 3 comments

hi.i've used this library a lot but unfortunately I can not make the table view curved like a half circle although I've changed lot's of things in library files.please guide me.

alipishvaee avatar Sep 23 '18 09:09 alipishvaee

Hi, @alipishvaee. Cool that you use the control.

You should only have to change one of the four params

        UIView.BezierPoints.p1 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p2 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p3 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p4 = CGPoint(x: 0, y: 0)

Did you try to use the editor?

knutigro avatar Oct 01 '18 21:10 knutigro

I tried these value but it did not worked.also my half circle is positioned on the right of the screen.

alipishvaee avatar Oct 08 '18 12:10 alipishvaee

I think it would be nice if you add more points.i mean maybe 8 point may solve the problem.also it would be nice if you consider the RTL in the library

alipishvaee avatar Oct 10 '18 06:10 alipishvaee