lib/axlsx/drawing/one_cell_anchor.rb in axlsx-2.1.0.pre vs lib/axlsx/drawing/one_cell_anchor.rb in axlsx-3.0.0.pre

- old
+ new

@@ -5,11 +5,11 @@ # @see Worksheet#add_chart # @see Worksheet#add_image class OneCellAnchor include Axlsx::OptionsParser - + # Creates a new OneCellAnchor object and an Pic associated with it. # @param [Drawing] drawing # @option options [Array] start_at the col, row to start at # @option options [Integer] width # @option options [Integer] height @@ -21,9 +21,10 @@ @width = 0 @height = 0 drawing.anchors << self @from = Marker.new parse_options options + start_at(*options[:start_at]) if options[:start_at] @object = Pic.new(self, options) end # A marker that defines the from cell anchor. The default from column and row are 0 and 0 respectively # @return [Marker]