xx.ignoreAnchorPointForPosition(true);
位置可能会发生变化的是 xx
相当于 锚点设置成 0,0
ignoreAnchorPointForPosition(true) == 锚点(0,0)
最新推荐文章于 2025-08-08 16:28:43 发布
本文详细解释了在特定场景下如何通过使用xx.ignoreAnchorPointForPosition(true)来调整元素的位置,并将其锚点设置为(0, 0),从而实现元素位置的灵活控制。
&spm=1001.2101.3001.5002&articleId=50195295&d=1&t=3&u=ae7bd080ff614462823f11deb8fa45bc)
1万+

被折叠的 条评论
为什么被折叠?



