Sha256: c1537f14dfa3bed2bc4c551b042071170008cc085f587b51103ba254e7ddb8f8
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
# mask example b=box({color: :transparent, x: 66}) v=b.video({ content: :avengers, size: 666 }) b.width=v.width b.height=v.height v.drag(true) v.touch do v.play(true) end # i=image({ content: :beach , size: 666}) v.touch do || v.mask({content: :atome, size: 333, position: :center}) end b.shadow({ x: 7, y: 3, color: "rgba(0,0,0,0.5)", blur: 7 })
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/mask.rb |
atome-0.4.5.4 | vendor/assets/build/medias/rubies/examples/Old_examples/mask.rb |