Sha256: 44ee347ebf589edc1c36b3f84bfa132632215b43bd0c6edd8bc20bcb2c50a3ef
Contents?: true
Size: 378 Bytes
Versions: 7
Compression:
Stored size: 378 Bytes
Contents
# -*- coding: utf-8 -*- require 'forwardable' require 'rays/ext' module Rays class Image extend Forwardable def_delegators :bitmap, :[], :[]= def paint (&block) painter.paint self, &block self end def size () return width, height end def bounds () Bounds.new 0, 0, width, height end end# Image end# Rays
Version data entries
7 entries across 7 versions & 1 rubygems