Method: Processing::GraphicsContext#curveDetail

Defined in:
lib/processing/graphics_context.rb

#curveDetail(detail) ⇒ nil

Sets the resolution at which curves display. The default value is 20 while the minimum value is 3.

Parameters:

  • detail (Numeric)

    resolution of the curves

Returns:

  • (nil)

    nil

See Also:



1119
1120
1121
1122
1123
# File 'lib/processing/graphics_context.rb', line 1119

def curveDetail(detail)
  detail = 3 if detail < 3
  @curveDetail__ = detail
  nil
end