private static Path getFunnelPath(AutoShape shape, Rect rect)
{
float width = 716f;
float height = 536f;
path.addOval(new RectF(28, 22, 688, 238), Direction.CCW);
path.moveTo(0, 130);
path.arcTo(new RectF(0, 0, 716, 260), 180, 180);
path.arcTo(new RectF(258, 444, 458, 536), 30, 150);
path.close();
sm.reset();
sm.postScale(rect.width() / width, rect.height() / height);
path.transform(sm);
path.offset(rect.left, rect.top);
return path;
}
SmartArtPathBuilder.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:iOffice
作者:
评论列表
文章目录