SEssentialsDecoratedFadedView Class Reference

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

Overview

The SEssentialsDecoratedShadowedView applies a gradual fade towards the edges of the view.

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

SEssentialsDecoratedFadedView *fadedView = [ [ SEssentialsDecoratedFadedView alloc ] initWithView:view ];
fadedView.fadeLength = 20.f;
fadedView.fadeAlpha = 0.2f;

Tasks

Properties

fadeAlpha

The alpha value of the fade at the edges, between 0 and 1. Defaults to 0.

@property (nonatomic, assign) CGFloat fadeAlpha

Declared In

SEssentialsDecoratedFadedView.h

fadeLength

The length of the faded section, in points. Defaults to 50 pts.

@property (nonatomic, assign) CGFloat fadeLength

Declared In

SEssentialsDecoratedFadedView.h