SEssentialsDecoratedShadowedView Class Reference

Inherits from SEssentialsDecoratedView : UIView
Declared in SEssentialsDecoratedShadowedView.h
Availability
Related samples

Overview

The SEssentialsDecoratedShadowedView adds an inner shadow effect on either side of the wrapped view.

A shadowed view with default settings can be created, then further customized as;

SEssentialsDecoratedShadowedView *shadowedView = [ [ SEssentialsDecoratedShadowedView alloc ] initWithView:view ];
shadowedView.shadowAlpha = 0.9f;
shadowedView.shadowLength = 4.f;

Properties

shadowAlpha

The alpha value of the shadow at the edges of the view, between 0 and 1. Defaults to 0.5.

@property (nonatomic, assign) CGFloat shadowAlpha

Declared In

SEssentialsDecoratedShadowedView.h

shadowLength

The length of the shadow, in points. Defaults to 8 pts.

@property (nonatomic, assign) CGFloat shadowLength

Declared In

SEssentialsDecoratedShadowedView.h