4 * Allows shadows to be drawn under text.
6 * Original Author : Matt Judy <mjudy@ithinksw.com>
7 * Responsibility : Matt Judy <mjudy@ithinksw.com>
8 * Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
10 * Copyright (c) 2002 - 2003 iThink Software.
16 #import <Cocoa/Cocoa.h>
19 @interface ITTextField : NSTextField {
23 float shadowElevation;
28 float shadowSaturation;
33 - (void)setCastsShadow:(BOOL)newSetting;
35 - (float)shadowElevation; /* Light source elevation in degrees. Defaults to 45.0 */
36 - (void)setShadowElevation:(float)newElevation;
38 - (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
39 - (void)setShadowAzimuth:(float)newAzimuth;
41 - (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.15 */
42 - (void)setShadowAmbient:(float)newAmbient;
44 - (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
45 - (void)setShadowHeight:(float)newHeight;
47 - (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
48 - (void)setShadowRadius:(float)newRadius;
50 - (float)shadowSaturation; /* Maximum saturation. Defaults to 1.0 */
51 - (void)setShadowSaturation:(float)newSaturation;