BulletSpan.java 文件源码

java
阅读 15 收藏 0 点赞 0 评论 0

项目:memoir 作者:
private void draw(Canvas c, Paint p, int x, int dir, int top, int bottom, int size) {
    sBulletPath.reset();
    sBulletPath.addCircle(0.0f, 0.0f, size, Direction.CW);

    c.save();
    c.translate(x + dir * size, (top + bottom) / 2.0f);
    c.drawPath(sBulletPath, p);
    c.restore();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号