Creates a new off-screen graphics context object.
Parameters:
width of graphics image
height of graphics image
pixel density of graphics image
Returns:
graphics object
See Also:
3232 3233 3234
# File 'lib/processing/graphics_context.rb', line 3232 def createGraphics(width, height, pixelDensity = 1) Graphics.new width, height, pixelDensity end