Sha256: 72922c0aa83567ec1d8e96399c113f58a2445cecc3fd2987317b37515ad09b89
Contents?: true
Size: 613 Bytes
Versions: 53
Compression:
Stored size: 613 Bytes
Contents
module Fox class FXMemoryBuffer # # Return a new FXMemoryBuffer instance, initialized with the # provided array of FXColor values. # # ==== Parameters: # # +data+:: the initial array of FXColor values. # def initialize(data); end # Return a copy of the pixel buffer, as an array of FXColor values [Array] def data; end alias to_a data # Return the size of the pixel buffer def size; end # Return the specified element (an FXColor value) def [](index); end # Set the specified element to _clr_. def []=(index, clr); end end end
Version data entries
53 entries across 53 versions & 2 rubygems