@Override
public Resource<PictureDrawable> transcode(Resource<SVG> toTranscode) {
SVG svg = toTranscode.get();
Picture picture = svg.renderToPicture();
PictureDrawable drawable = new PictureDrawable(picture);
return new SimpleResource<PictureDrawable>(drawable);
}
SvgDrawableTranscoder.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:udacity-p3
作者:
评论列表
文章目录