Class: OoxmlParser::DocxSolidColor

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#colorObject

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_modulationObject

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