API 0.9.5
CPShadow Class Reference

#import <CPShadow.h>

Inheritance diagram for CPShadow:

List of all members.

Instance Methods

(CPString- cssString
(float) - shadowBlurRadius
(CPColor- shadowColor
(CGSize) - shadowOffset

Class Methods

(id) + shadowWithOffset:blurRadius:color:

Detailed Description

Deprecated:
Instances of this class contain the attributes of a drop shadow used in Cappuccino.

Definition at line 2 of file CPShadow.h.


Method Documentation

- (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.

Parameters:
anOffsetthe shadow's offset
aBlurRadiusthe shadow's blur radius
aColorthe shadow's color
Returns:
the new shadow

Definition at line 47 of file CPShadow.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines