aylon7
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022
02:41 AM
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 !
1 REPLY 1
necrotek
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022
09:12 PM
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.