Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 6 - Drawing and Graphics 2.1 / Drawing and Graphics Reference
Functions and Methods /


GetTone

GetTone(packedRGB)

Returns an integer representing the 4-bit gray tone corresponding to the packedRGB value.

packedRGB
A packed integer representation of an RGB color.

return value
An integer in the range [0,15]; 0 is white and 15 is black.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help