#DOCUMENTATION by exept
class: Colormap class
comment/format in:
#rgbBytesVector:
#rgbValueVector:
--- a/Colormap.st Mon Dec 23 12:05:33 2019 +0100
+++ b/Colormap.st Wed Jan 01 15:19:44 2020 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1994 by Claus Gittinger
All Rights Reserved
@@ -151,7 +153,7 @@
"
|map|
- map := Colormap rgbBytesVector:#[0 0 0 127 127 127 255 0 0 255 255 255].
+ map := MappedPalette rgbBytesVector:#[0 0 0 127 127 127 255 0 0 255 255 255].
map atPixelValue:2
"
!
@@ -189,7 +191,7 @@
"
|map|
- map := Colormap rgbValueVector:#(16r000000 16r7F7F7F 16r800000 16rFFFFFF).
+ map := MappedPalette rgbValueVector:#(16r000000 16r7F7F7F 16r800000 16rFFFFFF).
map atPixelValue:2
"
!