Get a transparent color

xiaoxiao2021-03-06  74

At first, I saw a half-breath felt too magical, I saw Java's Color to get a half translucent with Java, that is, EasyColor C = New Color (1, 1, 0, 0.5F); the last 0.5F is worthwhile transparency! Graphics g = .... G.SetColor (C); then all of you draw is translucent.

转载请注明原文地址:https://www.9cbs.com/read-92864.html

New Post(0)