CPObjectCPShadow
@implementation CPShadow : CPObject
Instances of this class contain the attributes of a drop shadow used in Cappuccino.
Method Summary | |
---|---|
+(id) | shadowWithOffset:(CGSize)anOffset blurRadius:(float)aBlurRadius color:(CPColor)aColor Creates a shadow with the specified attributes. |
-(CPString) | cssString Returns a CSS string representation of the shadow. |
-(float) | shadowBlurRadius Returns the shadow's blur radius. |
-(CPColor) | shadowColor Returns the shadow's color. |
-(CGSize) | shadowOffset Returns the shadow's offset. |
Method Detail |
---|
+(id)shadowWithOffset:(CGSize)anOffset blurRadius:(float)aBlurRadius color:(CPColor)aColor
anOffset
- the shadow's offsetaBlurRadius
- the shadow's blur radiusaColor
- the shadow's color-(CPString)cssString
-(float)shadowBlurRadius
-(CPColor)shadowColor
-(CGSize)shadowOffset
Created on Sat Sep 13 14:15:43 PDT 2008