Class: MG::Layout
Direct Known Subclasses
Properties (collapse)
-
- (Color) background_color
The background color of the widget.
-
- (Boolean) clipping?
Whether the layout can clip its content and children (default is false).
-
- (:absolute, ...) type
The layout type.
Attributes inherited from Widget
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #visible?, #z_index
Constructors (collapse)
-
- (Layout) initialize
constructor
Creates a new List widget.
Methods inherited from Widget
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #parent
Constructor Details
- (Layout) initialize
Creates a new List widget.
788 |
# File 'motion-game', line 788 def initialize; end |
Instance Attribute Details
- (Color) background_color
Returns the background color of the widget.
797 798 799 |
# File 'motion-game', line 797 def background_color @background_color end |
- (Boolean) clipping?
Returns whether the layout can clip its content and children (default is false).
801 802 803 |
# File 'motion-game', line 801
def clipping?
@clipping?
end
|
- (:absolute, ...) type
Returns the layout type.
794 795 796 |
# File 'motion-game', line 794 def type @type end |