4 * Allows shadows to be drawn under text.
6 * Original Author : Matthew Judy <mjudy@ithinksw.com>
7 * Responsibility : Matthew 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 {
24 - (void)setCastsShadow:(BOOL)newSetting;
26 - (float)shadowElevation; /* Light source elevation in degrees. Defaults to 45.0 */
27 - (void)setShadowElevation:(float)newElevation;
29 - (float)shadowAzimuth; /* Light source azimuth in degrees. Defaults to 90.0 */
30 - (void)setShadowAzimuth:(float)newAzimuth;
32 - (float)shadowAmbient; /* Amount of ambient light. Defaults to 0.15 */
33 - (void)setShadowAmbient:(float)newAmbient;
35 - (float)shadowHeight; /* Height above the canvas. Defaults to 1.0 */
36 - (void)setShadowHeight:(float)newHeight;
38 - (float)shadowRadius; /* Blur radius. Defaults to 4.0 */
39 - (void)setShadowRadius:(float)newRadius;
41 - (float)shadowSaturation; /* Maximum saturation. Defaults to 1.0 */
42 - (void)setShadowSaturation:(float)newSaturation;