PLSImageSetting.h
807 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
//
// PLSImageSetting.h
// PLShortVideoKit
//
// Created by hxiongan on 2018/1/17.
// Copyright © 2018年 Pili Engineering, Qiniu Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface PLSImageSetting : NSObject
/**
@brief 图片实例
@since v1.10.0
*/
@property (nonatomic, strong) UIImage *image;
/**
@brief 图片所占区域大小
@since v1.10.0
*/
@property (nonatomic, assign) CGSize imageSize;
/**
@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