XWidgetSoft Forum
https://www.bbs.xwidget.com/

Corner via JAVA
https://www.bbs.xwidget.com/viewtopic.php?f=10&t=7071
Page 1 of 1

Author:  Rom [ September 17th, 2019, 12:32 pm ]
Post subject:  Corner via JAVA

Hello, i have a simple question.

How do you use this code to round the corners ?
Code:
image1.corner.corners = ??


thanks :)

Author:  Jimking [ September 17th, 2019, 2:48 pm ]
Post subject:  Re: Corner via JAVA

Hi Rom. I never used a js code for this.
Personally I always do this way:
1. Or by creating manually corners to an png image using for example GIMP that is pretty easy making high quality images
2. Or using the editor's "Shape" tab and change the "Corner" values - "Style"

Edit: Read below.
I think it's what you want :)

Author:  DanDaBear [ September 17th, 2019, 3:00 pm ]
Post subject:  Re: Corner via JAVA

Hi Rom,

Try this thread.
viewtopic.php?f=7&t=2103

It has a function to make it easy and a little farther down are the options to use in js. IE:

Code:
backboard_small.Corner.Corners =0(disable corner)
                               =1(TopLeft)
                               =2(TopRight)
                               =3(TopLeft + TopRight)
                               =4(BottomLeft)
                               ......
                               =7(TopLeft + TopRight +BottomLeft)
                               =8(BottomRight)
                               ......

                               =15(TopLeft + TopRight +BottomLeft + BottomRight)

Author:  Rom [ September 18th, 2019, 3:56 pm ]
Post subject:  Re: Corner via JAVA

Realy thx !

Its that i need....Thx :) :) :) :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/