/// <summary> /// Gets the color from a skin element component. /// </summary> /// <param name="skinElement"></param> /// <param name="elementState"></param> /// <param name="elementComponent"></param> /// <returns></returns> public Color GetElementColor(Plugin.SkinElement skinElement, Plugin.ElementState elementState, Plugin.ElementComponent elementComponent) { int colorValue = _api.Setting_GetSkinElementColour(skinElement, elementState, elementComponent); return(Color.FromArgb(colorValue)); }