Independent Developer Kit

Learn how to innovate on the Roku platform with the Independent Developer Kit. Reimagine your TV with Roku app development! Join the community for help.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reel Rookie

Border Radius in Buttons - how to achieve


I have a task to do a border radius button like in a classic CSS using border radius. I've been

thinking for a while but nothing comes to my mind. Should I take a bitmap already created with

it and use it as a background of a button or maybe there is another way how to draw it ? 

Thank you in advanced !

0 Kudos
Roku Guru

Re: Border Radius in Buttons - how to achieve

Try in this forum you will not get answers for scenegraph channels here. 

Brightscript/scenegraph has no css equivalent.  You will have to use an image but you can use 9 patch images. you could so something with draw2d api but that could get complicated and slow to draw.

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.