Class: Ambling::Stock::Settings::Balloon
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Balloon
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- #FFFFFF
-
(hex code) #
Constant Summary collapse
- VALUES =
[:bg_color,:bg_alpha,:text_color,:text_size,:border_color,:border_width,:border_alpha,:corner_radius]
Instance Attribute Summary collapse
-
#bg_alpha ⇒ Object
- #000000
-
(hex code) #.
-
#bg_color ⇒ Object
- 90
-
(hex code) #.
-
#border_alpha ⇒ Object
- 5
-
(Number) #.
-
#border_color ⇒ Object
- 2
-
(Number) #.
-
#border_width ⇒ Object
- 100
-
(0 - 100) #.
-
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
-
#text_color ⇒ Object
- text_size
-
(Number) #.
-
#text_size ⇒ Object
- #b81d1b
-
(hex code) #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_alpha ⇒ Object
- #000000
-
(hex code) #
1531 1532 1533 |
# File 'lib/ambling/stock.rb', line 1531 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- 90
-
(hex code) #
1527 1528 1529 |
# File 'lib/ambling/stock.rb', line 1527 def bg_color @bg_color end |
#border_alpha ⇒ Object
- 5
-
(Number) #
1551 1552 1553 |
# File 'lib/ambling/stock.rb', line 1551 def border_alpha @border_alpha end |
#border_color ⇒ Object
- 2
-
(Number) #
1543 1544 1545 |
# File 'lib/ambling/stock.rb', line 1543 def border_color @border_color end |
#border_width ⇒ Object
- 100
-
(0 - 100) #
1547 1548 1549 |
# File 'lib/ambling/stock.rb', line 1547 def border_width @border_width end |
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
1555 1556 1557 |
# File 'lib/ambling/stock.rb', line 1555 def corner_radius @corner_radius end |
#text_color ⇒ Object
- text_size
-
(Number) #
1535 1536 1537 |
# File 'lib/ambling/stock.rb', line 1535 def text_color @text_color end |
#text_size ⇒ Object
- #b81d1b
-
(hex code) #
1539 1540 1541 |
# File 'lib/ambling/stock.rb', line 1539 def text_size @text_size end |