Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

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));