Class: Thinreports::BasicReport::Core::Shape::Style::Graphic
- Inherits:
-
Basic
- Object
- Base
- Basic
- Thinreports::BasicReport::Core::Shape::Style::Graphic
show all
- Defined in:
- lib/thinreports/basic_report/core/shape/style/graphic.rb
Instance Attribute Summary
Attributes inherited from Basic
#visible
Attributes inherited from Base
#accessible_styles, #styles
Instance Method Summary
collapse
Methods inherited from Basic
#initialize
Methods inherited from Base
#[], #[]=, accessible_styles, #copy, #finalized_styles, #has_style?, #identifier, inherited, #initialize, #read_internal_style, style_accessible, style_accessor, style_reader, style_writer, #write_internal_style
Methods included from Utils
#blank_value?, #call_block_in, #deep_copy, included
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'
|