Sha256: 5930c70bbad506b95d5ee8a79fc3cd6e75571938c87723345c4f1043f3ad6ffb

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

module OpenXml
  module DrawingML
    module Properties
      class FillGradient < OpenXml::Properties::ComplexProperty
        include OpenXml::ContainsProperties
        namespace :a
        tag :gradFill

        attribute :tile_flip, displays_as: :flip, one_of: %i{ none x xy y }
        attribute :rotate_with_shape, displays_as: :rotWithShape, expects: :boolean

        property :gradient_stop_list

        property_choice do
          property :line, as: :gradient_line
          property :path, as: :gradient_path
        end

        property :tile_rectangle

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openxml-drawingml-0.3.1 lib/openxml/drawingml/properties/fill_gradient.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/fill_gradient.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/fill_gradient.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/fill_gradient.rb