Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hzwangsiyu committed Jun 17, 2016
1 parent 16fd7da commit 90f4af7
Showing 1 changed file with 0 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,6 @@ typedef enum {
*/
- (PLFilterHandler)addWaterMark:(UIImage *)waterMark origin:(CGPoint)origin;

/**
@brief 添加美颜滤镜
@return 美颜 filter 对应的 handler
*/
- (PLFilterHandler)addBeautyFilter;

/**
@brief 使用 GPUImageFilter 添加 filter
Expand All @@ -373,42 +366,4 @@ typedef enum {
*/
- (void)removeFilter:(PLFilterHandler)handler;

/**
@brief 以一定的比例调整对应 BeautyFilter 的亮度参数,该参数为增加或降低亮度,而非调整亮度的绝对值
@param brightness 范围从 0 ~ 2,1 为不改变亮度
@param handler 需要设置的 handler
@warning 仅对 BeautyFilter 该设置有效
*/
- (void)adjustBritness:(CGFloat)brightness forFilter:(PLFilterHandler)handler;

/**
@brief 以一定的比例调整对应 BeautyFilter 的饱和度参数,该参数为增加或降低饱和度,而非调整饱和度的绝对值
@param brightness 范围从 0 ~ 2,1 为不改变饱和度
@param handler 需要设置的 handler
@warning 仅对 BeautyFilter 该设置有效
*/
- (void)adjustSaturation:(CGFloat)saturation forFilter:(PLFilterHandler)handler;

/**
@brief 重置对应的 BeautyFilter 的亮度和饱和度参数到默认值
@param handler 需要设置的 handler
@warning 仅对 BeautyFilter 该设置有效
*/
- (void)resetBritnessAndSaturationForFilter:(PLFilterHandler)handler;
/**
@brief 设置对应 BeautyFilter 的磨皮程度参数.
@param brightness 范围从 0 ~ 1,0 为不磨皮,默认为 0.5
@param handler 需要设置的 handler
@warning 仅对 BeautyFilter 该设置有效
*/
- (void)setSmoothIntensity:(CGFloat)smoothIntensity forFilter:(PLFilterHandler)handler;

@end

0 comments on commit 90f4af7

Please sign in to comment.