WoWoPathView.java 文件源码

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

项目:GitHub 作者:
private void initImage() {
    if (headImageRes != 0) {
        bitmap = BitmapFactory.decodeResource(getResources(), headImageRes);
        if (headImageWidth != 0 || headImageHeight != 0) bitmap = getResizedBitmap(bitmap, headImageWidth, headImageHeight);
        bitmapOffsetX = bitmap.getWidth() / 2;
        bitmapOffsetY = bitmap.getHeight() / 2;
        bitmapPosition = new float[2];
        bitmapTan = new float[2];
        matrix = new Matrix();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号