Sha256: 8ef897576bdfb2952374287957d6e6aa671d0fb6e91f0338d230a66c54a9a666
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true text = Atome.new( text: { renderers: [:browser], id: :text1, type: :text, parents: [:view], children: [], visual: { size: 18 }, data: 'My first text!', left: 300, top: 33, width: 199, height: 33, color: { renderers: [:browser], id: :c31, type: :color, parents: [:text1], children: [], red: 0.6, green: 0.6, blue: 0.6, alpha: 1 } } ) # now we change the color all the object that share the care modified wait 1 do text.link(:c315) end wait 2 do grab(:c315).red(0) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.1.1 | vendor/assets/build/medias/rubies/examples/_link.rb |