TuSDKMediaStickerImageEffect Class Reference

Inherits from TuSDKMediaEffectCore : NSObject
Declared in TuSDKMediaStickerImageEffect.h

Overview

图片贴纸特效

– initWithStickerImage:atTimeRange:

初级滤镜code初始化

- (instancetype)initWithStickerImage:(TuSDK2DImageSticker *)stickerImage atTimeRange:(TuSDKTimeRange *_Nullable)timeRange

Parameters

stickerImage

贴纸组

timeRange

触发时间

Return Value

TuSDKMediaGIFStickerEffect

Availability

v3.3.2

Declared In

TuSDKMediaStickerImageEffect.h

– initWithStickerImage:center:degree:designSize:

初始化方法

- (instancetype)initWithStickerImage:(UIImage *)stickerImage center:(CGPoint)centerPercent degree:(CGFloat)degree designSize:(CGSize)designSize

Parameters

stickerImage

UIImage

Return Value

TuSDKMediaTextEffectData

Availability

v3.3.2

Declared In

TuSDKMediaStickerImageEffect.h

  stickerImage

显示的本地贴纸数据

@property (nonatomic, readonly) TuSDK2DImageSticker *stickerImage

Availability

v3.3.2

Declared In

TuSDKMediaStickerImageEffect.h