Paint.ToolBox.TranslateToolboxLayoutColor C# (CSharp) Method

TranslateToolboxLayoutColor() private method

Translates the toolbox layout color type to a Color.
private TranslateToolboxLayoutColor ( ColorType color ) : Color
color Paint.ToolboxLayout.ColorType The converted Color object.
return Color
        private Color TranslateToolboxLayoutColor(ColorType color)
        {
            return new Color(color.Red, color.Green, color.Blue);
        }