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

Overview

The AKCornerRadiusImageEffect masks the corners of the layers underneath it.

Tasks

Creating a Corner Radius Image Effect

Customizing Appearance

  •   cornerRadii

    The radius of each corner. The corner radii can be set independently.

    property

Properties

cornerRadii

The radius of each corner. The corner radii can be set independently.

@property (readonly) AKCornerRadii cornerRadii

Declared In

AKCornerRadiusImageEffect.h

Instance Methods

initWithAlpha:blendMode:cornerRadii:

The designated initializer for a corner radius image effect.

- (id)initWithAlpha:(CGFloat)alpha blendMode:(CGBlendMode)blendMode cornerRadii:(AKCornerRadii)cornerRadii

Parameters

alpha

The value for the alpha property.

blendMode

The value for the blendMode property.

cornerRadii

The value for the cornerRadii property.

Return Value

An initialized image effect.

Declared In

AKCornerRadiusImageEffect.h