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.6.11 test/sample/text.rb
oj-3.6.10 test/sample/text.rb
oj-3.6.9 test/sample/text.rb
oj-3.6.8 test/sample/text.rb
oj-3.6.7 test/sample/text.rb
oj-3.6.6 test/sample/text.rb
oj-3.6.5 test/sample/text.rb
oj-3.6.4 test/sample/text.rb
oj-3.6.3 test/sample/text.rb
oj-3.6.2 test/sample/text.rb
oj-3.6.0 test/sample/text.rb
oj-3.5.1 test/sample/text.rb
oj-3.5.0 test/sample/text.rb
oj-3.4.0 test/sample/text.rb
oj-3.3.10 test/sample/text.rb
oj-3.3.9 test/sample/text.rb
oj-3.3.8 test/sample/text.rb
oj-3.3.7 test/sample/text.rb
oj-3.3.6 test/sample/text.rb
oj-3.3.5 test/sample/text.rb