桌面图形-或“皮肤”图形 视窗

发布于 2024-07-11 02:06:07 字数 130 浏览 7 评论 0原文

我正在寻找一种在桌面上绘制动画的方法。 无窗框且背景透明。

我在 Windows XP 中使用 Python,但它不一定是跨平台的,尽管这会是一个很好的好处。

有谁知道可以做到这一点的Python库吗?

I'm looking for a way to draw animations right on the desktop. No window frames and with transparent background.

I'm using Python in windows XP for it, but it doesn't have to be cross platform, although it'd be a nice bonus.

Does anyone know about a python library that can do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绮筵 2024-07-18 02:06:07

如果您想要无框窗户,有多种选择。 例如,可以使用以下标志初始化 pygame:

pygame.init()
screen = pygame.display.set_mode(size=(640,480), pygame.NOFRAME)

不过,如果您正在寻找透明表面,您的问题并不清楚。

If you want a frameless window, there are several options. For example, pygame can be initialized with the following flag:

pygame.init()
screen = pygame.display.set_mode(size=(640,480), pygame.NOFRAME)

Your question doesn't make it clear if you're looking for a transparent surface, though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文