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.0.6 test/sample/text.rb
oj-1.0.5 test/sample/text.rb
oj-1.0.4 test/sample/text.rb
oj-1.0.3 test/sample/text.rb
ox-1.5.2 test/sample/text.rb
oj-1.0.2 test/sample/text.rb
oj-1.0.1 test/sample/text.rb
oj-1.0.0 test/sample/text.rb
ox-1.5.1 test/sample/text.rb
oj-0.9.0 test/sample/text.rb
ox-1.5.0 test/sample/text.rb
oj-0.8.0 test/sample/text.rb
oj-0.7.0 test/sample/text.rb