Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么向画布添加图像时,它不以 0x0 开头,而是从 -this.width / 2,-this.height / 2 开始?
默认原点是中心。您可以更改此行为设置object.originX和object.originY.
object.originX
object.originY