Class: MG::Layout
Direct Known Subclasses
Properties collapse
-
#background_color ⇒ Color
The background color of the widget.
-
#clipping? ⇒ Boolean
Whether the layout can clip its content and children (default is false).
-
#type ⇒ :absolute, ...
The layout type.
Attributes inherited from Widget
#enabled?, #highlighted?, #touch_enabled?
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #visible?, #z_index
Constructors collapse
-
#initialize ⇒ Layout
constructor
Creates a new List widget.
Methods inherited from Widget
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #parent, #run_action, #stop_action, #stop_all_actions
Constructor Details
#initialize ⇒ Layout
Creates a new List widget.
1269 |
# File 'doc/API_reference.rb', line 1269 def initialize; end |
Instance Attribute Details
#background_color ⇒ Color
Returns the background color of the widget.
1278 1279 1280 |
# File 'doc/API_reference.rb', line 1278 def background_color @background_color end |
#clipping? ⇒ Boolean
Returns whether the layout can clip its content and children (default is false).
1282 1283 1284 |
# File 'doc/API_reference.rb', line 1282
def clipping?
@clipping?
end
|
#type ⇒ :absolute, ...
Returns the layout type.
1275 1276 1277 |
# File 'doc/API_reference.rb', line 1275 def type @type end |