Class: PhotoManager

Ycc. PhotoManager

new Ycc.PhotoManager(yccInstance)

Ycc实例的快照管理类
Name Type Description
yccInstance Ycc

Methods

delPhotoById(photoId){*}

删除照片
Name Type Description
photoId 照片的id
Returns:
Type Description
*

getHistoryPhotos(){Array}

获取保存的历史照片
Returns:
Type Description
Array

showLastPhoto(){boolean}

显示最后一次保存的快照
Returns:
Type Description
boolean

showPhoto(photo){Photo}

显示照片
Name Type Description
photo Photo
Returns:
Type Description
Photo
保存快照,即保存当前的原子图形渲染步骤