Sha256: 8f1525452eba6a5d13f1cf2c861b148cd8ee162c5f6f15a99b0cb6567b8a0efa
Contents?: true
Size: 952 Bytes
Versions: 2
Compression:
Stored size: 952 Bytes
Contents
# coding: utf-8 module Thinreports module Core::Shape class Style::Graphic < Style::Basic style_accessible :border_color, :border_width, :fill_color, :border # @method border_color # @return [String] # @method border_color=(color) # @param [String] color style_accessor :border_color, 'border-color' # @method border_width # @return [Number] style_accessor :border_width, 'border-width' # @method fill_color # @return [String] # @method fill_color=(color) # @param [String] color style_accessor :fill_color, 'fill-color' # @return [Array<String, Number>] def border [self.border_width, self.border_color] end # @param [Array<String, Number>] width_and_color def border=(width_and_color) w, c = width_and_color self.border_width = w self.border_color = c end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.9.1 | lib/thinreports/core/shape/style/graphic.rb |
thinreports-0.9.0 | lib/thinreports/core/shape/style/graphic.rb |