CPShadow Class Reference

List of all members.

Public Member Functions

(CGSize) - shadowOffset [implementation]
(float) - shadowBlurRadius [implementation]
(CPColor) - shadowColor [implementation]
(CPString- cssString [implementation]

Static Public Member Functions

(id) + shadowWithOffset:blurRadius:color: [implementation]


Detailed Description

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

Definition at line 30 of file CPShadow.j.


Member Function Documentation

- (CPString) cssString   [implementation]

Returns a CSS string representation of the shadow.

Definition at line 95 of file CPShadow.j.

- (float) shadowBlurRadius   [implementation]

Returns the shadow's blur radius

Definition at line 79 of file CPShadow.j.

- (CPColor) shadowColor   [implementation]

Returns the shadow's color.

Definition at line 87 of file CPShadow.j.

- (CGSize) shadowOffset   [implementation]

Returns the shadow's offset.

Definition at line 71 of file CPShadow.j.

+ (id) shadowWithOffset: (CGSize)  anOffset
blurRadius: (float)  aBlurRadius
color: (CPColor)  aColor 
[implementation]

Creates a shadow with the specified attributes.

Parameters:
anOffset the shadow's offset
aBlurRadius the shadow's blur radius
aColor the shadow's color
Returns:
the new shadow

Definition at line 46 of file CPShadow.j.


The documentation for this class was generated from the following file:

Generated on Thu Dec 11 01:55:51 2008 for Cappuccino by  doxygen 1.5.7.1