class Thinreports::Core::Shape::Style::Graphic

Public Instance Methods

border() click to toggle source

@return [Array<String, Number>]

# File lib/thinreports/core/shape/style/graphic.rb, line 27
def border
  [border_width, border_color]
end
border=(width_and_color) click to toggle source

@param [Array<String, Number>] width_and_color

# File lib/thinreports/core/shape/style/graphic.rb, line 32
def border=(width_and_color)
  w, c = width_and_color
  self.border_width = w
  self.border_color = c
end