Class: UI::View
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Float) alpha
The current value of alpha.
-
- (Color) background_color
The current value of background_color.
-
- (Color) border_color
The current value of border_color.
-
- (Fixnum) border_radius
The current value of border_radius.
-
- (Object) border_width
The current value of border_width.
Attributes inherited from CSSNode
#align_items, #align_self, #border_bottom_width, #border_end, #border_left_width, #border_right_width, #border_start, #border_top_width, #bottom, #flex, #flex_direction, #flex_wrap, #height, #justify_content, #left, #margin, #margin_bottom, #margin_end, #margin_left, #margin_right, #margin_start, #margin_top, #max_height, #max_width, #min_height, #min_width, #name, #padding, #padding_bottom, #padding_end, #padding_left, #padding_right, #padding_start, #padding_top, #position, #right, #top, #width
Instance Method Summary (collapse)
-
- (Object) hidden=(hidden)
Sets the hidden state of the view.
-
- (Boolean) hidden?
Returns wether the view is hidden.
-
- (Object) proxy
Returns the platform-spegific object.
-
- (Object) update_layout
Update the position of the view and all its children.
Methods inherited from CSSNode
#add_child, #children, #delete_child, #parent, #root, set_scale
Instance Attribute Details
- (Float) alpha
Returns the current value of alpha
7 8 9 |
# File 'flow/ui/view.rb', line 7 def alpha @alpha end |
- (Color) background_color
Returns the current value of background_color
7 8 9 |
# File 'flow/ui/view.rb', line 7 def background_color @background_color end |
- (Color) border_color
Returns the current value of border_color
7 8 9 |
# File 'flow/ui/view.rb', line 7 def border_color @border_color end |
- (Fixnum) border_radius
Returns the current value of border_radius
7 8 9 |
# File 'flow/ui/view.rb', line 7 def border_radius @border_radius end |
- (Object) border_width
Returns the current value of border_width
7 8 9 |
# File 'flow/ui/view.rb', line 7 def border_width @border_width end |
Instance Method Details
- (Boolean) hidden?
Returns wether the view is hidden
|
# File 'flow/ui/view.rb', line 8
|
- (Object) update_layout
Update the position of the view and all its children
|
# File 'flow/ui/view.rb', line 16
|