/// <summary> /// Get the Color of a specific position. /// </summary> /// <param name="position">The position to get the Color of.</param> /// <returns></returns> public Color GetColor(ColorPosition position) { return colors[(int)position]; }
/// <summary> /// Set the Color of a specific position. /// </summary> /// <param name="color">The new Color.</param> /// <param name="position">The position to change the Color on.</param> public void SetColor(Color color, ColorPosition position) { colors[(int)position] = color; NeedsUpdate = true; }
/// <summary> /// Get the Color of a specific position. /// </summary> /// <param name="position">The position to get the Color of.</param> /// <returns></returns> public Color GetColor(ColorPosition position) { return(colors[(int)position]); }
public int Add(ColorPosition colorPosition) { return(base.Add(colorPosition)); }