Sha256: 98ffa77c578129ff7300ea313fe91e2da8c973435825e1279b513208736d9d36

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

# clip example
text("touch the rectangle")
b=box({width: 222, height: 529, x: 333})
s=shape({ path: :the_mask, width: 33, atome_id: :the_path})

b.touch do ||
  b.clip({path: :clipping5})
  b.shadow({ x: 0, y: 0, color: "rgba(0,0,0,1)", blur: 16, thickness: 0 })
end

s.width(333)

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