TencentNavKit

Properties | List of all members
TNKSnapShotConfig Class Reference

截图配置类 More...

`#import <TNKSnapShot.h>`

Inheritance diagram for TNKSnapShotConfig:

## Properties
CGFloat | width
| 截图区域宽，默认 256 More...
CGFloat | height
| 截图区域宽，默认 256 More...
NSInteger | interval
| 截图的间隔（毫秒）默认 5000 More...
TNKSnapShotImageQuality | imageQuality
| 像素质量，默认 TNKSnapShotImageQualityHigh More...
TNKSnapShotImageFormat | imageFormat
| 图像格式，默认 TNKSnapShotImagePNG More...
TNKSnapShotOutputType | outputType
| 截图输出类型 More...
NSInteger | jpegQuality
| JPEG压缩质量（0-100），默认 90，仅在imageFormat为JPEG时生效 More...
BOOL | usesStaticMap
| 截图时使用静态图作为底图. 默认为NO 注意：启用时采用服务端渲染的方向绘制底图，会消耗较多流量. More...

## Detailed Description

截图配置类

## Property Documentation

## ◆ height

- (CGFloat) height
| readwritenonatomicassign

截图区域宽，默认 256

## ◆ imageFormat

- (TNKSnapShotImageFormat) imageFormat
| readwritenonatomicassign

图像格式，默认 TNKSnapShotImagePNG

## ◆ imageQuality

- (TNKSnapShotImageQuality) imageQuality
| readwritenonatomicassign

像素质量，默认 TNKSnapShotImageQualityHigh

## ◆ interval

- (NSInteger) interval
| readwritenonatomicassign

截图的间隔（毫秒）默认 5000

## ◆ jpegQuality

- (NSInteger) jpegQuality
| readwritenonatomicassign

JPEG压缩质量（0-100），默认 90，仅在imageFormat为JPEG时生效

## ◆ outputType

- (TNKSnapShotOutputType) outputType
| readwritenonatomicassign

截图输出类型

## ◆ usesStaticMap

- (BOOL) usesStaticMap
| readwritenonatomicassign

截图时使用静态图作为底图. 默认为NO 注意：启用时采用服务端渲染的方向绘制底图，会消耗较多流量.

## ◆ width

- (CGFloat) width
| readwritenonatomicassign

截图区域宽，默认 256

The documentation for this class was generated from the following file:

- TNKSnapShot.h