-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to draw translucent strings? #72
Comments
To draw transparent fonts, use png format. |
那你的意思是先绘制到png上,再图片叠加?那还是一样的问题,半透明的字怎么绘制? |
丑的一塌糊涂 |
是的。先生成字体png透明图片。然后叠加。
|
你没懂我意思吧?我要文字透明(半透明),不是png背景透明.... |
自己好好看看代码是不是文字透明... |
Go uses premultipled alpha. The first 255 should be 180. |
i try this:
but always very strange...
Can someone help me?
Thanks
The text was updated successfully, but these errors were encountered: