# NSColorSampler class documentation

Generated at 2026-06-27 19:09:52 +0000
Software documentation for the NSColorSampler class
AppKit/NSColorSampler.h
Description forthcoming.
showSamplerWithSelectionHandler:
selectionHandler
There was code here to dynamically generate a magnifying glass cursor with a magnified portion of the screenshot in it, but changing the cursor rapidly on X seems to cause flicker, so we just use a plain magnifying glass. (dynamic code is in r33543)