简体   繁体   中英

Drawing in Java Swing with RGBA

How can I draw in swing using RGBA (colors with transparency)? The only class I found is Color which is sRGB.

Color will understand alpha and even has constructors that accept it: Color API

Are you drawing in a BufferedImage?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM