Sha256: b2fb102ae4f03599c91cc3b0238c5b8b430e6899a002802857749a0edb4619b4

Contents?: true

Size: 1.1 KB

Versions: 21

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true

c = circle({ id: :the_circle, left: 122, color: :orange, drag: { move: true, inertia: true, lock: :start } })
 c.color({ id: :col1, red: 1, blue: 1 })

 c.shadow({
              id: :s1,
              # affect: [:the_circle],
              left: 9, top: 3, blur: 9,
              invert: false,
              red: 0, green: 0, blue: 0, alpha: 1
            })

shadow({
           id: :s2,
           affect: [:the_circle],
           left: 3, top: 9, blur: 9,
           invert: true,
           red: 0, green: 0, blue: 0, alpha: 1
         })

c.shadow({
           id: :s4,
           left: 20, top: 0, blur: 9,
           option: :natural,
           red: 0, green: 1, blue: 0, alpha: 1
         })

wait 2 do
  c.remove(:s4)
  wait 2 do
    c.remove({ all: :shadow })
  end
end


the_text = text({ data: 'hello for al the people in front of their machine', center: true, top: 222, width: 777, component: { size: 66 } })



the_text.shadow({
           id: :s4,
           left: 20, top: 0, blur: 9,
           option: :natural,
           red: 0, green: 1, blue: 0, alpha: 1
         })

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
atome-0.5.6.1.4 vendor/assets/application/examples/shadow.rb
atome-0.5.6.1.1 vendor/assets/application/examples/shadow.rb
atome-0.5.6.1.0 vendor/assets/application/examples/shadow.rb
atome-0.5.6.0.4 vendor/assets/application/examples/shadow.rb
atome-0.5.6.0.3 vendor/assets/application/examples/shadow.rb
atome-0.5.6.0.2 vendor/assets/application/examples/shadow.rb
atome-0.5.5.9.1 vendor/assets/application/examples/shadow.rb
atome-0.5.5.8.7 vendor/assets/application/examples/shadow.rb
atome-0.5.5.8.5 vendor/assets/application/examples/shadow.rb
atome-0.5.5.8.1 vendor/assets/application/examples/shadow.rb
atome-0.5.5.7.7 vendor/assets/application/examples/shadow.rb
atome-0.5.5.7.5 vendor/assets/application/examples/shadow.rb
atome-0.5.5.7.3 vendor/assets/application/examples/shadow.rb
atome-0.5.5.7.1 vendor/assets/application/examples/shadow.rb
atome-0.5.5.7.0 vendor/assets/application/examples/shadow.rb
atome-0.5.5.6.9 vendor/assets/application/examples/shadow.rb
atome-0.5.5.6.8 vendor/assets/application/examples/shadow.rb
atome-0.5.5.6.7.9 vendor/assets/application/examples/shadow.rb
atome-0.5.5.6.6 vendor/assets/application/examples/shadow.rb
atome-0.5.5.6.5 vendor/assets/application/examples/shadow.rb