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
| read write nonatomic assign

截图区域宽，默认 256

## ◆ imageFormat

- (TNKSnapShotImageFormat) imageFormat
| read write nonatomic assign

图像格式，默认 TNKSnapShotImagePNG

## ◆ imageQuality

- (TNKSnapShotImageQuality) imageQuality
| read write nonatomic assign

像素质量，默认 TNKSnapShotImageQualityHigh

## ◆ interval

- (NSInteger) interval
| read write nonatomic assign

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

## ◆ jpegQuality

- (NSInteger) jpegQuality
| read write nonatomic assign

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

## ◆ outputType

- (TNKSnapShotOutputType) outputType
| read write nonatomic assign

截图输出类型

## ◆ usesStaticMap

- (BOOL) usesStaticMap
| read write nonatomic assign

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

## ◆ width

- (CGFloat) width
| read write nonatomic assign

截图区域宽，默认 256

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

- TNKSnapShot.h