Skip to content
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

颜色的数组 #3

Open
281522134 opened this issue May 16, 2017 · 1 comment
Open

颜色的数组 #3

281522134 opened this issue May 16, 2017 · 1 comment

Comments

@281522134
Copy link

那个颜色的数组应该是什么颜色的,我用的 private String[] particleColorArray={"0xff33aadd"};
或者{"ff33aadd"},{"33aadd"}都不对

@Yasic
Copy link
Owner

Yasic commented May 16, 2017

您好。应该使用字符串数组String[]而不是List装颜色字符串

setParticleColorArray(new String[]{"#333333", "#222222", "#111111"})

具体代码可以看项目内的demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants