Sha256: 7d0baff5fe713abca7583a6fdd7b47f1620d7682713afa373b63c2629c9c176e

Contents?: true

Size: 580 Bytes

Versions: 5

Compression:

Stored size: 580 Bytes

Contents

# coding: utf-8

module ThinReports
  module Core::Shape
    
    # @private
    class Text::Format < Basic::Format
      config_reader :text, :box, :valign
      config_reader :svg_content => %w( svg content ),
                    :line_height => %w( line-height )
                    
      class << self
      private
        
        # @see ThinReports::Core::Shape::Basic::Format#build_internal
        def build_internal(raw_format)
          new(raw_format) do |f|
            clean_with_attributes(f.svg_content)
          end
        end
      end
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.7.7 lib/thinreports/core/shape/text/format.rb
thinreports-0.7.6 lib/thinreports/core/shape/text/format.rb
thinreports-0.7.5 lib/thinreports/core/shape/text/format.rb
thinreports-0.7.0 lib/thinreports/core/shape/text/format.rb
thinreports-0.6.0.pre3 lib/thinreports/core/shape/text/format.rb