API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPShadow Class Reference

#import <CPShadow.h>

+ Inheritance diagram for CPShadow:

Instance Methods

(CPString- cssString
 
(void) - set
 
(void) - setShadowBlurRadius:
 
(void) - setShadowColor:
 
(void) - setShadowOffset:
 
(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
implementation

Returns a CSS string representation of the shadow.

Definition at line 75 of file CPShadow.j.

- (void) set
implementation

Definition at line 65 of file CPShadow.j.

- (void) setShadowBlurRadius: (float)  aValue
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 111 of file CPShadow.j.

- (void) setShadowColor: (CPColor aValue
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 127 of file CPShadow.j.

- (void) setShadowOffset: (CGSize)  aValue
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 95 of file CPShadow.j.

- (float) shadowBlurRadius
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 103 of file CPShadow.j.

- (CPColor) shadowColor
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 119 of file CPShadow.j.

- (CGSize) shadowOffset
implementation

Synthesized accessor method.

Provided by category CPShadow(CPSynthesizedAccessors).

Definition at line 87 of file CPShadow.j.

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

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 45 of file CPShadow.j.


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