class Glimmer::View::Cylinder
Constants
- DEFAULT_SIZE
Public Instance Methods
pitted=(value)
click to toggle source
# File lib/glimmer/view/cylinder.rb, line 32 def pitted=(value) options[:pitted] = value if value body_root.content { @pit ||= oval(oval_width / 4.0, oval_height / 4.0, oval_width / 2.0, oval_height / 2.0) { background :black } } else @pit&.dispose @pit = nil end end