RedGIFImage:
Filter:
Classes (extension) | Red > redTools

RedGIFImage : Object
ExtensionExtension

helper class for RedGIF
Source: RedGIF.sc

Description

Holds the actual pixel data and other image specific settings. A RedGIF consist of one or more RedGIFImage objects.

NOTE: Do not instantiate. It is only a helper class for RedGIF.

Class Methods

Inherited class methods

Undocumented class methods

RedGIFImage.new(bounds, flags)

Instance Methods

.bounds

Image dimensions as a Rect.

.flags

Semi-private image settings. Use the methods -depth, -hasColorMap, -interlaced below instead.

.colorMap

.colorMap = value

Image specific (a.k.a. local) array of colours.

.data

.data = value

The pixel data as a 1-dimensional array of Color objects. Reading from left to right, top to bottom.

.control

.control = value

A RedGIFControl object.

.depth

Colour depth.

.hasColorMap

A boolean. true if local -colorMap.

.interlaced

A boolean. Indicates that this image needs to be drawn in separate passes.

Inherited instance methods