![]() |
API 0.9.5
|
#import <CPShadow.h>
Inheritance diagram for CPShadow:Instance Methods | |
| (CPString) | - cssString |
| (float) | - shadowBlurRadius |
| (CPColor) | - shadowColor |
| (CGSize) | - shadowOffset |
Class Methods | |
| (id) | + shadowWithOffset:blurRadius:color: |
Definition at line 2 of file CPShadow.h.
| - (CPString) cssString |
Returns a CSS string representation of the shadow.
Definition at line 96 of file CPShadow.j.
| - (float) shadowBlurRadius |
Returns the shadow's blur radius
Definition at line 80 of file CPShadow.j.
| - (CPColor) shadowColor |
Returns the shadow's color.
Definition at line 88 of file CPShadow.j.
| - (CGSize) shadowOffset |
Returns the shadow's offset.
Definition at line 72 of file CPShadow.j.
| + (id) shadowWithOffset: | (CGSize) | anOffset | |
| blurRadius: | (float) | aBlurRadius | |
| color: | (CPColor) | aColor | |
Creates a shadow with the specified attributes.
| anOffset | the shadow's offset |
| aBlurRadius | the shadow's blur radius |
| aColor | the shadow's color |
Definition at line 47 of file CPShadow.j.