Sha256: 9fa077acfd195af643e1d21da8b1ef672f180ea54876d96e8b93030562a7be44

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 Bytes

Contents

# coding: utf-8

module Thinreports
  module Core::Shape

    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

3 entries across 3 versions & 1 rubygems

Version Path
thinreports-0.8.2 lib/thinreports/core/shape/text/format.rb
thinreports-0.8.1 lib/thinreports/core/shape/text/format.rb
thinreports-0.8.0 lib/thinreports/core/shape/text/format.rb