Method: Tk::BLT::PlotComponent::Postscript#initialize
- Defined in:
- lib/tkextlib/blt/component.rb
#initialize(chart, keys = {}) ⇒ Postscript
Returns a new instance of Postscript.
1145 1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'lib/tkextlib/blt/component.rb', line 1145 def initialize(chart, keys={}) # dummy:: not called by 'new' method @parent = @chart = chart @cpath = @chart.path # Postscript::PostscriptID_TBL[@cpath] = self @chart.postscript_configure(keys) unless keys.empty? @path = @id = 'postscript' end |