XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 11th, 2025, 7:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Corner via JAVA
PostPosted: September 17th, 2019, 12:32 pm 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Hello, i have a simple question.

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


thanks :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: Corner via JAVA
PostPosted: September 17th, 2019, 2:48 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
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 :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: Corner via JAVA
PostPosted: September 17th, 2019, 3:00 pm 
Offline

Joined: May 16th, 2019, 5:52 pm
Posts: 8
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)


Top
 Profile  
 
 Post subject: Re: Corner via JAVA
PostPosted: September 18th, 2019, 3:56 pm 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Realy thx !

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

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group