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-1.3.2 test/sample/text.rb
oj-1.3.0 test/sample/text.rb
oj-1.2.13 test/sample/text.rb
oj-1.2.12 test/sample/text.rb
oj-1.2.11 test/sample/text.rb
oj-1.2.10 test/sample/text.rb
oj-1.2.9 test/sample/text.rb
oj-1.2.8 test/sample/text.rb
oj-1.2.7 test/sample/text.rb
oj-1.2.6 test/sample/text.rb
oj-1.2.5 test/sample/text.rb
oj-1.2.4 test/sample/text.rb
oj-1.2.3 test/sample/text.rb
oj-1.2.2 test/sample/text.rb
oj-1.2.1 test/sample/text.rb
oj-1.2.0 test/sample/text.rb
ox-1.5.4 test/sample/text.rb
oj-1.1.1 test/sample/text.rb
oj-1.1.0 test/sample/text.rb
ox-1.5.3 test/sample/text.rb