Search code examples
androidrokubrightscript

How to set rounded corner on rectangle node of scene graph


I am working on roku app and using rectangle node of scene graph. I want to set rounded corners on rectangle so please suggest me.

Xml code is:

<Rectangle
   id="showHide"
   color="#451bc1"
   visible="false"
   width="500"
   height="100"
   translation="[150,600]" />

Thank you


Solution

  • Currently there is no way of doing this, you may create an image, which looks like rectangle you need, and use it with Poster node.