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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aylon7
Reel Rookie

Border Radius in Buttons - how to achieve

Hi,

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
1 REPLY 1
necrotek
Roku Guru

Re: Border Radius in Buttons - how to achieve

Try in this forum https://community.roku.com/t5/Roku-Developer-Program/bd-p/roku-developer-program 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