So the .NET documentation says that this creates a filled ellipse with the UPPER LEFT CORNER at the X,Y coordinate specified.

But I need the ellipse to be CENTERED on the X,Y coordinate I supplied.

How do I do this?

Thanks!

有帮助吗?

解决方案

From the desired center point, decrease X by half of the width and decrease Y by half of the height.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top