I set the color of several rectangles in a particular application by using code like:
Now I want to make the rectangle have rounded corners and so tried:
but syntax I've used for the arc parameters is throwing errors.
Can someone please suggest the correct syntax?
Thanks,
Bryon
B4X:
Dim joRect As JavaObject = RinTeamFoulsRect
joRect.RunMethod("setFill", Array(fx.Colors.Red))
Now I want to make the rectangle have rounded corners and so tried:
B4X:
Dim joRect As JavaObject = GameClockRect
joRect.RunMethod("setArcHeight", 30)
joRect.RunMethod("setArcWidth", 30)
but syntax I've used for the arc parameters is throwing errors.
Can someone please suggest the correct syntax?
Thanks,
Bryon