module OpenXml
  module DrawingML
    module Elements
      class FillRectangle < OpenXml::DrawingML::Element
        tag :fillRect

        attribute :bottom_offset, expects: :percentage, displays_as: :b
        attribute :left_offset, expects: :percentage, displays_as: :l
        attribute :right_offset, expects: :percentage, displays_as: :r
        attribute :top_offset, expects: :percentage, displays_as: :t

      end
    end
  end
end