Method: Processing::GraphicsContext#tan
- Defined in:
- lib/processing/graphics_context.rb
#tan(angle) ⇒ Numeric
Returns the ratio of the sine and cosine of an angle.
2839 2840 2841 |
# File 'lib/processing/graphics_context.rb', line 2839 def tan(angle) Math.tan angle end |