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-2.4.0 test/sample/text.rb
oj-2.3.0 test/sample/text.rb
oj-2.2.3 test/sample/text.rb
oj-2.2.2 test/sample/text.rb
oj-2.2.1 test/sample/text.rb
oj-2.2.0 test/sample/text.rb
oj-2.1.7 test/sample/text.rb
oj-2.1.6 test/sample/text.rb
oj-2.1.4 test/sample/text.rb
oj-2.1.2 test/sample/text.rb
oj-2.1.1 test/sample/text.rb
oj-2.1.0 test/sample/text.rb
oj-2.0.14 test/sample/text.rb
oj-2.0.13 test/sample/text.rb
oj-2.0.12 test/sample/text.rb
oj-2.0.11 test/sample/text.rb
oj-2.0.10 test/sample/text.rb
oj-2.0.9 test/sample/text.rb
oj-2.0.8 test/sample/text.rb
oj-2.0.7 test/sample/text.rb