Rect setCenter must after setSize

When setSize of the rect,the center of the rect will be changed.soyou need to setCenter after setSize.(Just because the size's scaleis relative to left-bottom)
已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页