-
Notifications
You must be signed in to change notification settings - Fork 3
Rectangle
AR2000AR edited this page Jul 10, 2023
·
1 revision
Rectangle(Widget)
Rectangle(parent:Frame,x:number,y:number,width:number,height:number,backgroundColor:number):Rectangle
Create a new Rectangle widget inside the parent frame.
Parmaeters :
- parent:Frame - The Widget's parent
- x:number - x position relative to the parent
- y:number - y position relative to the parent
- width:number - the widget's width
- height:number - the widget's height
- backgroundColor:number - the widget's background color
Getter and setter for the widget's background color. If backgroundColor is set, the background color will be updated. Return the old or background color.
Parameters :
- backgroundColor:number - The background RGB color (eg 0x0000ff)
Return :
- backgroundColor