示例#1
0
 private bool ParseColor(string colorString, out ColorBgra color)
 {
     try
     {
         color = ColorBgra.ParseHexString(colorString);
         return(true);
     }
     catch (Exception)
     {
         color = this.DefaultColor;
         return(false);
     }
 }