Ramu 0.7b doc
SimpleButtonBase.setRect()
Parameters
Rect
rect: The rect.
Description
Sets the button’s position.
You can test this snippet of code here.
let btn = new SimpleButtonBase(10,10,100,100);
btn.setRect(new Rect(4,4,50,50));
SimpleButtonBase.setRect()
Rect
rect: The rect.
Sets the button’s position.
You can test this snippet of code here.
let btn = new SimpleButtonBase(10,10,100,100);
btn.setRect(new Rect(4,4,50,50));