Class: RubyPost::DoubleArrow

Inherits:
BaseDrawCommand show all
Defined in:
lib/draw.rb

Overview

implements the metapost drawdblarrow command

Direct Known Subclasses

DblArrow

Instance Attribute Summary

Attributes inherited from BaseDrawCommand

#drawable

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

#compileObject



101
102
103
# File 'lib/draw.rb', line 101

def compile
  'drawdblarrow ' + @drawable.compile + ' ' + compile_options + ";\n"
end