Sha256: 43303c6c4a5e8fcce365a1cfcaaf47805cca44b8b496d1c44cfe0f6815a654bb
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
class Shoes module Common # Methods for objects with stroke # # @note Including classes must provide `#style` module Stroke DEFAULTS = { :stroke => Shoes::COLORS[:black] } def stroke style[:stroke] end def stroke=(color) style[:stroke] = color end def strokewidth style[:strokewidth] end def strokewidth=(width) style[:strokewidth] = width end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | lib/shoes/common/stroke.rb |