Sha256: 54045a3cd2d48501ce45f5cf2277bf7b19bb69851f064c918ff3cd3a20a6eef7

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

require "openxml/drawingml/properties/color_property"

module OpenXml
  module DrawingML
    module Properties
      class ColorHsl < ColorProperty
        namespace :a
        tag :hslClr

        attribute :hue, expects: :integer, in_range: (0..21_600_000)
        attribute :luminance, displays_as: :lum, expects: :percentage
        attribute :saturation, displays_as: :sat, expects: :percentage

      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/color_hsl.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/color_hsl.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/color_hsl.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/color_hsl.rb