Inherits from AKImageEffect : NSObject
Declared in AKButtonBevelImageEffect.h
AKButtonBevelImageEffect.m

Overview

The AKButtonBevelImageEffect class creates a white bevel on the top of a button image, and a black bevel on the botton of the button (or vice-versa).

Tasks

Creating a Button Bevel Image Effect

Customizing Appearance

Properties

bevelDirection

The direction of the bevel.

@property (readonly) AKButtonBevelDirection bevelDirection

Declared In

AKButtonBevelImageEffect.h

Instance Methods

initWithAlpha:blendMode:bevelDirection:

The designated initializer for a button bevel image effect.

- (id)initWithAlpha:(CGFloat)alpha blendMode:(CGBlendMode)blendMode bevelDirection:(AKButtonBevelDirection)bevelDirection

Parameters

alpha

The value for the alpha property.

blendMode

The value for the blendMode property.

bevelDirection

The direction of the bevel. AKButtonBevelDirectionUp, the default, has a shine on top and a shadow on bottom. AKButtonBevelDirectionDown is the reverse.

Return Value

An initialized image effect.

Declared In

AKButtonBevelImageEffect.h