Sha256: 41541dc91b86542132f8e6011bc06bcc750da65d1471e2a90140bccc63979ab6

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# atomiser example

b = box({x: 99, y: 99})
t2 = text({content: "first touch me to change color property to red, and smooth", x: 33,y: 33, width: :auto})
t3 = text({content: "then touch me to render the changes", x: 33,y: 66, width: :auto})
b.touch do
  t2.content= self.color
end
t2.touch do
  b.atomiser({ color: :red })
  b.atomiser({ smooth: 6})
end

t3.touch do
  b.render(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/atomiser.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/atomiser.rb