Sha256: a90dd1faa51439ca9805464cd14a8cf86bbf0ef7a8ebfd530fa71fdcb6134ec1
Contents?: true
Size: 317 Bytes
Versions: 3
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true require 'java' # Hide in ImageVoodoo so awt.rb can see this and we will not polute global class ImageVoodoo java_import java.awt.Graphics2D # Re-open to add convenience methods. class Graphics2D def draw_this_image(image) draw_image image, 0, 0, nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems