Sha256: 216df7aac1dbeb6d04dad81051e8e3a87a4700d6eb1f210076117a87d1b2522a

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

# coding: utf-8

module ThinReports
  module Core::Shape
    
    # @private
    class Text::Internal < Basic::Internal
      # Delegate to Format's methods
      format_delegators :svg_content, :text, :box
      
      def style
        @style ||= Style::Text.new(format)
      end
      
      def type_of?(type_name)
        type_name == :text
      end
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thinreports-0.7.7 lib/thinreports/core/shape/text/internal.rb
thinreports-0.7.6 lib/thinreports/core/shape/text/internal.rb
thinreports-0.7.5 lib/thinreports/core/shape/text/internal.rb
thinreports-0.7.0 lib/thinreports/core/shape/text/internal.rb