Class: MG::Scroll
Direct Known Subclasses
Properties (collapse)
-
- (:none, ...) direction
The direction of the scroll view.
-
- (Layout) inner_container
readonly
The inner container of the scroll view.
-
- (Size) inner_size
The inner container size of the scroll view, which must be larger or equal than the size of the scroll view itself.
Attributes inherited from Layout
#background_color, #clipping?, #type
Attributes inherited from Widget
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #visible?, #z_index
Constructors (collapse)
-
- (Scroll) initialize
constructor
Creates a new Scroll widget.
Methods inherited from Widget
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #parent
Constructor Details
- (Scroll) initialize
Creates a new Scroll widget.
810 |
# File 'motion-game', line 810 def initialize; end |
Instance Attribute Details
- (:none, ...) direction
Returns the direction of the scroll view.
817 818 819 |
# File 'motion-game', line 817 def direction @direction end |
- (Layout) inner_container (readonly)
Returns the inner container of the scroll view.
824 825 826 |
# File 'motion-game', line 824 def inner_container @inner_container end |
- (Size) inner_size
Returns the inner container size of the scroll view, which must be larger or equal than the size of the scroll view itself.
821 822 823 |
# File 'motion-game', line 821 def inner_size @inner_size end |