Class: RubyPost::Draw
- Inherits:
-
BaseDrawCommand
- Object
- Object
- BaseDrawCommand
- RubyPost::Draw
- Defined in:
- lib/draw.rb
Overview
implements the metapost draw command
Instance Attribute Summary
Attributes inherited from BaseDrawCommand
Instance Method Summary collapse
Methods inherited from BaseDrawCommand
#add_option, #color, #colour, #compile_options, #initialize, #rotate, #scale, #set_drawable, #translate
Constructor Details
This class inherits a constructor from RubyPost::BaseDrawCommand
Instance Method Details
#compile ⇒ Object
74 75 76 |
# File 'lib/draw.rb', line 74 def compile 'draw ' + @drawable.compile + ' ' + + ";\n" end |