UnPackRGB
UnPackRGB(packedRGB)
Returns a frame with information about the red, green, and blue components of a packed RGB integer.
SPECIAL CONSIDERATIONS
- packedRGB
- A packed RGB integer, as returned by the function
*PackRGB
.
- return value
- A frame with
red
,green
, andblue
slots. Each slot contains an integer in the range [0, 65535] for that color component's value.
UnPack(*PackRGB(r,g,b))
returns a frame{red: redInt, green:greenInt, blue: blueInt}
. Note thatr
might not equalredInt
,g
might not equalgreenInt
, andb
might not equalblueInt
. It is only guaranteed that these values are similar, not identical.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help