eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FixedPalette':

Home

everywhere
www.exept.de
for:
[back]

Class: FixedPalette


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--Colormap
            |
            +--ColorPalette
               |
               +--FixedPalette

Package:
stx:libview
Category:
Graphics-Images-Support
Version:
rev: 1.3 date: 2004-06-07 09:21:45
user: cg
file: FixedPalette.st directory: libview
module: stx stc-classLibrary: libview

Description:


This class will (sooner or later) take over and/or redefine some of the Colormap functionality.
This migration will be done both to cleanup the code and for VW compatibility.

Notice: For now, the whole functionality is still in Colormap


Related information:

    Color
    Image
    Form

Class protocol:

instance creation
o  redShift: reds redMask: redm greenShift: grns greenMask: grnm blueShift: blus blueMask: blum


Instance protocol:

initialization
o  redShift: rs redMask: rm greenShift: gs greenMask: gm blueShift: bs blueMask: bm

printing & storing
o  displayString

o  printOn: aStream

o  storeOn: aStream

queries
o  bitsBlue

o  bitsGreen

o  bitsRed

o  blueByteAt: index
return the (simulated) blueByte at index.
Notice that index is 1..

o  greenByteAt: index
return the (simulated) greenByte at index.
Notice that index is 1..

o  isFixedPalette

o  redByteAt: index
return the (simulated) redByte at index.
Notice that index is 1..

o  size
return the number of (simulated) colors in this colormap



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:10:23 GMT