ifish/Ifish/views/WaveEffectView/LXWaveProgressView/LXWaveProgressView.h

43 lines
768 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// LXWaveProgressView.h
// LXWaveProgressDemo
//
// Created by liuxin on 16/8/1.
// Copyright © 2016年 liuxin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LXWaveProgressView : UIView
/**
* 进度 0-1
*/
@property (nonatomic,assign)CGFloat progress;
/**
* 波动速度,默认 1
*/
@property (nonatomic,assign)CGFloat speed;
/**
* 波纹填充颜色
*/
@property (nonatomic,strong)UIColor * firstWaveColor;
@property (nonatomic,strong)UIColor * secondWaveColor;
/**
* 波动幅度,默认 5
*/
@property (nonatomic,assign)CGFloat waveHeight;
/**
* 进度文字
*/
@property (nonatomic,strong)UILabel * progressLabel;
/**
* 是否显示单层波浪默认NO
*/
@property (nonatomic,assign)BOOL isShowSingleWave;
@end