Sha256: 2bd4e49df06c3e474cc107a926193f877286189d0a6016f38961ecf86cafd55a
Contents?: true
Size: 375 Bytes
Versions: 13
Compression:
Stored size: 375 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
13 entries across 13 versions & 1 rubygems