Class: OoxmlParser::DocxShapeLineElement

Inherits:
Object
  • Object
show all
Defined in:
lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(points = []) ⇒ DocxShapeLineElement

Returns a new instance of DocxShapeLineElement.



6
7
8
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb', line 6

def initialize(points = [])
  @points = points
end

Instance Attribute Details

#pointsObject

Returns the value of attribute points.



4
5
6
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb', line 4

def points
  @points
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb', line 4

def type
  @type
end