Class: Thinreports::BasicReport::Core::Shape::Style::Graphic
- Inherits:
-
Style::Basic
- Object
- Style::Basic
- Thinreports::BasicReport::Core::Shape::Style::Graphic
- Defined in:
- lib/thinreports/basic_report/core/shape/style/graphic.rb
Instance Method Summary collapse
- #border ⇒ Array<String, Number>
- #border=(width_and_color) ⇒ Object
- #border_color ⇒ String
- #border_color=(color) ⇒ Object
- #border_width ⇒ Number
- #fill_color ⇒ String
- #fill_color=(color) ⇒ Object
Instance Method Details
#border ⇒ Array<String, Number>
28 29 30 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 28 def border [border_width, border_color] end |
#border=(width_and_color) ⇒ Object
33 34 35 36 37 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 33 def border=(width_and_color) w, c = width_and_color self.border_width = w self.border_color = c end |
#border_color ⇒ String
15 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 15 style_accessor :border_color, 'border-color' |
#border_color=(color) ⇒ Object
15 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 15 style_accessor :border_color, 'border-color' |
#border_width ⇒ Number
19 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 19 style_accessor :border_width, 'border-width' |
#fill_color ⇒ String
25 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 25 style_accessor :fill_color, 'fill-color' |
#fill_color=(color) ⇒ Object
25 |
# File 'lib/thinreports/basic_report/core/shape/style/graphic.rb', line 25 style_accessor :fill_color, 'fill-color' |