Sha256: 8c4789d44719b1e6dcf08207d22daa51bb121924d9f4912e625459d9ae27cf47

Contents?: true

Size: 312 Bytes

Versions: 4

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true
class Shoes
  class Background < Common::BackgroundElement
    include Common::Fill

    style_with :angle, :common_styles, :curve, :dimensions, :fill
    STYLES = { angle: 0, curve: 0 }.freeze

    def before_initialize(styles, color)
      styles[:fill] = color
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoes-core-4.0.0.pre12 lib/shoes/background.rb
shoes-core-4.0.0.pre11 lib/shoes/background.rb
shoes-core-4.0.0.pre10 lib/shoes/background.rb
shoes-core-4.0.0.pre9 lib/shoes/background.rb