Sha256: dc7fbd553b479032da2b35ed83475e9d548b4b64878bb9d417c6f31fa5bd05c7

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

#clear

# box({atome_id: :the_box})
c=circle(x: 96)
t=text({content: "click tme to clear the screen", atome_id: :the_text})
text({content: "hello", x: 96, y: 96})
image({content: :boat, size: 96, x: 96, y: 96})
image({content: :moto, size: 96, y: 96})


b=box({x: 96, y: 96})
b.circle(true)
b.text("touch the box to clear it's content")
b.attach(c.atome_id)
b.touch do
  b.clear(true)
end

t.touch do
  grab(:view).clear(:true)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/clear.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/clear.rb