Sha256: 63b80dc877264d9b5b483e195f6441f14c0b280d6ab5b460536d0a9710f9342f

Contents?: true

Size: 420 Bytes

Versions: 273

Compression:

Stored size: 420 Bytes

Contents

module Sample
  class Text < Shape
    attr_accessor :text
    attr_accessor :font
    attr_accessor :font_size
    attr_accessor :just
    attr_accessor :text_color

    def initialize(text, left, top, wide, high, color=nil)
      super(left, top, wide, high, color)
      @text = text
      @font = 'helvetica'
      @font_size = 14
      @just = 'left'
      @text_color = 'black'
    end

  end # Text
end # Sample

Version data entries

273 entries across 273 versions & 4 rubygems

Version Path
oj-3.9.2 test/sample/text.rb
oj-3.9.1 test/sample/text.rb
oj-3.9.0 test/sample/text.rb
oj-3.8.1 test/sample/text.rb
oj-3.8.0 test/sample/text.rb
oj-3.7.12 test/sample/text.rb
oj-3.7.11 test/sample/text.rb
oj-3.7.10 test/sample/text.rb
oj-3.7.9 test/sample/text.rb
oj-3.7.8 test/sample/text.rb
oj-3.7.7 test/sample/text.rb
oj-3.7.6 test/sample/text.rb
oj-3.7.5 test/sample/text.rb
oj-3.7.4 test/sample/text.rb
oj-3.7.3 test/sample/text.rb
oj-3.7.2 test/sample/text.rb
oj-3.7.1 test/sample/text.rb
oj-3.7.0 test/sample/text.rb
oj-3.6.13 test/sample/text.rb
oj-3.6.12 test/sample/text.rb