class GerbilCharts::SVGDC::PresentationAttribute

PresentationAttribute

Wrappers around some simple attributes like Pen and Brush For more complex ones, you can just attach the SVG definition to the object you are drawing

Attributes

color[R]

Public Class Methods

new(opt) click to toggle source
# File lib/gerbilcharts/svgdc/presentation_attributes.rb, line 11
def initialize(opt) 
  @color=opt[:color]  if defined? opt[:color] 
end