Sha256: 48063616187484a4451a2669daf14697a9da523ae189e07e4517d36eed71e303

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

# child

c = circle({atome_id: :c, x: 20})
c.drag do
end
img=image({content: :red_planet, atome_id: :red_planet})
c.box({atome_id: :e, x: 160})
c.text({content: 'some text', atome_id: :t, width: 100, height: 200, x: 69})
b2=box({x:200, atome_id: :the_box})
c.child.color(:green)

c.child([img.atome_id, b2.atome_id])
c.child do |child_found|
  child_found.set({width: 100, height: 33, rotate: 36, y: 66})
end

c.child[:red_planet].y(200)
b2.parent[1].color(:cyan)

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/child.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/child.rb