Sha256: 10590db77aa6166f912e257994feaa3f8f6cf635c22c54895fc7d9b6345aaad6
Contents?: true
Size: 940 Bytes
Versions: 1
Compression:
Stored size: 940 Bytes
Contents
# frozen_string_literal: true col=color({red: 1, blue: 1, id: :the_col}) c=circle b=box({left: 333}) c2=circle({top: 190, width: 99, height: 99}) # let's add the border c2.border({ thickness: 5, color: :blue, pattern: :dotted }) c.border({ thickness: 5, color: col, pattern: :dotted }) b.border({ thickness: 5, color: col, pattern: :dotted }) wait 3 do c2.border({ thickness: 5, color: :green, pattern: :dotted }) c.border({ thickness: 5, color: :green, pattern: :dotted }) b.border({ thickness: 5, color: :green, pattern: :dotted }) end b.touch(true) do b.border({ thickness: 5, color: { red: 1, green: 0 }, pattern: :dotted }) end # wait 6 do # iamge(:red_planet) # end # # frozen_string_literal: true # # col=color({red: 1, blue: 1, id: :the_col}) # # # c=circle # b=box({left: 333}) # # b.attached([col.id]) # c.border({ thickness: 5, pattern: :dotted }) # b.border({ thickness: 5, attached: col.id, pattern: :dotted })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.6.4.0 | vendor/assets/application/examples/border.rb |