Sha256: d6642aae2dfc76499a35ed5d58502aa8af6ccb0442c5dd505db876ca7e85ef6c
Contents?: true
Size: 528 Bytes
Versions: 11
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true c = circle({ height: 400, width: 200, top: 100, left: 0, top: 100 }) b = c.box({ width: 200, height: 100, left: 600, top: 200, id: :my_box }) c.circle({ width: 200, height: 100, left: 120, top: -80, id: :my_text, data: :hi }) b.circle({ color: :yellow, width: 55, height: 88, left: 500 }) b.box wait 1 do # recursive apply the new size to all fasten atomes recursively # reference : change the size according the to wanted axis c.size({value: 50, recursive: true, reference: :y }) end
Version data entries
11 entries across 11 versions & 1 rubygems