/* NSShadow.m Application Kit Copyright (c) 2002-2012, Apple Inc. All rights reserved. */ /* NSShadow stores the properties of a drop shadow to be added to drawing. */ #import #import @class NSColor; @interface NSShadow : NSObject { /*All instance variables are private*/ NSUInteger _shadowFlags; NSSize _shadowOffset; CGFloat _shadowBlurRadius; NSColor *_shadowColor; CGFloat _reservedFloat[3]; void *_reserved; } - (id)init; // designated initializer, returns a default shadow with zero offset, zero blur radius, and default color - (NSSize)shadowOffset; // offset in user space of the shadow from the original drawing, in default user space units, where positive values are up and to the right - (void)setShadowOffset:(NSSize)offset; - (CGFloat)shadowBlurRadius; // blur radius of the shadow in default user space units - (void)setShadowBlurRadius:(CGFloat)val; - (NSColor *)shadowColor; // color used for the shadow (default is black with an alpha value of 1/3) - (void)setShadowColor:(NSColor *)color; - (void)set; @end