Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Color[] ColorsArray
- {
- get
- {
- string[] hex = Colors.Split(',');
- Color[] colors = new Color[hex.Length];
- for (int i = 0; i < hex.Length; i++)
- {
- colors[i] = Color.FromHex(hex[i].Trim());
- }
- return colors;
- }
- }
Add Comment
Please, Sign In to add comment