TuSDKImageFrame Class Reference

Inherits from NSObject
Declared in TuSDKImageFrame.h

Overview

图像帧模型

  index

帧索引

@property (nonatomic, assign) NSUInteger index

Declared In

TuSDKImageFrame.h

  pixelWidth

帧的像素宽度

@property (nonatomic, assign) NSUInteger pixelWidth

Declared In

TuSDKImageFrame.h

  pixelHeight

帧的像素高度

@property (nonatomic, assign) NSUInteger pixelHeight

Declared In

TuSDKImageFrame.h

  pixelOffsetX

帧在画布的原点X,原点基于左下角

@property (nonatomic, assign) NSUInteger pixelOffsetX

Declared In

TuSDKImageFrame.h

  pixelOffsetY

帧在画布的原点Y,原点基于左下角

@property (nonatomic, assign) NSUInteger pixelOffsetY

Declared In

TuSDKImageFrame.h

  duration

帧时长,单位秒

@property (nonatomic, assign) NSTimeInterval duration

Declared In

TuSDKImageFrame.h

  dispose

帧处理方式

@property (nonatomic, assign) ImageDisposeMethod dispose

Declared In

TuSDKImageFrame.h

  blend

帧混合方式

@property (nonatomic, assign) ImageBlendOperation blend

Declared In

TuSDKImageFrame.h

  image

图像

@property (nonatomic, strong) UIImage *image

Declared In

TuSDKImageFrame.h

+ frameWithImage:

通过 UIImage 对象创建对象

+ (instancetype)frameWithImage:(UIImage *)image

Parameters

image

UIImage 对象

Return Value

TuSDKImageFrame 对象

Declared In

TuSDKImageFrame.h