PLSTextSetting.h
1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// PLSTextSetting.h
// PLShortVideoKit
//
// Created by hxiongan on 2018/1/17.
// Copyright © 2018年 Pili Engineering, Qiniu Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface PLSTextSetting : NSObject
/**
@brief 内容
@since v1.10.0
*/
@property (nonatomic, copy) NSString *text;
/**
@brief 文字字体
@since v1.10.0
*/
@property (nonatomic, strong) UIFont *textFont;
/**
@brief 文字颜色
@since v1.10.0
*/
@property (nonatomic, strong) UIColor *textColor;
/**
@brief 内容所占区域大小
@since v1.10.0
*/
@property (nonatomic, assign) CGSize textSize;
/**
@brief 文字所占区域的起始x位置,相对于PLSVideoSetting中设置的width的偏移像素
@since v1.10.0
*/
@property (nonatomic, assign) CGFloat startX;
/**
@brief 文字所占区域的起始Y位置,相对于PLSVideoSetting中设置的height的偏移像素
@since v1.10.0
*/
@property (nonatomic, assign) CGFloat startY;
@end