#DOCUMENTATION by cg
class: Depth1Image
comment/format in:
#pixelAtX:y:
#pixelAtX:y:put:
--- a/Depth1Image.st Tue Mar 27 13:28:58 2018 +0200
+++ b/Depth1Image.st Tue Mar 27 15:40:58 2018 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
@@ -71,7 +69,7 @@
!Depth1Image methodsFor:'accessing-pixels'!
pixelAtX:x y:y
- "retrieve a pixelValue at x/y; return a pixel value.
+ "retrieve a pixelValue at x/y; return a pixel value (0 or 1).
The interpretation of the returned value depends on the photometric
and the colormap. See also Image>>atX:y:)
Pixels start at 0@0 for upper left pixel, end at
@@ -119,7 +117,7 @@
!
pixelAtX:x y:y put:aPixelValue
- "set a pixel's value at x/y to aPixelValue.
+ "set a pixel's value at x/y to aPixelValue (0 or 1).
The interpretation of the pixelValue depends on the photometric
and the colormap. (see also: Image>>atX:y:put:)
Pixels start at x=0 , y=0 for the upper left pixel,