I wrote this: label1. SetTextFill ((int) (Math. The random () * 256), (int) (Math. The random () * 256), (int) (Math. The random () * 256), (int) (Math. The random () * 101)); But I mistake The eclipse suggests method setTextFill (Paint) in The type Labeled is not applicable for The arguments (int, int, int, int), The old man is this why?
CodePudding user response:
There is no this way
Your husband into a monochromatic image (random color), and then fill the picture