Class: RubyPost::Arrow
- Inherits:
-
BaseDrawCommand
- Object
- Object
- BaseDrawCommand
- RubyPost::Arrow
- Defined in:
- lib/draw.rb
Overview
implements the metapost drawarrow 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
92 93 94 |
# File 'lib/draw.rb', line 92 def compile 'drawarrow ' + @drawable.compile + ' ' + + ";\n" end |