Class: OoxmlParser::DocxSolidColor
- Inherits:
-
Object
- Object
- OoxmlParser::DocxSolidColor
- Defined in:
- lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#luminance_modulation ⇒ Object
Returns the value of attribute luminance_modulation.
Instance Method Summary collapse
-
#initialize(color = nil) ⇒ DocxSolidColor
constructor
A new instance of DocxSolidColor.
Constructor Details
#initialize(color = nil) ⇒ DocxSolidColor
Returns a new instance of DocxSolidColor.
6 7 8 |
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb', line 6 def initialize(color = nil) @color = color end |
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
4 5 6 |
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb', line 4 def color @color end |
#luminance_modulation ⇒ Object
Returns the value of attribute luminance_modulation.
4 5 6 |
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb', line 4 def luminance_modulation @luminance_modulation end |