Пример #1
0
 public static Color BlendColor(Color backgroundColor, Color frontColor)
 {
     return(DrawHelper.BlendColor(backgroundColor, frontColor, (double)(int)frontColor.A));
 }
Пример #2
0
 public static GraphicsPath CreateRoundRect(Rectangle rect, float radius)
 {
     return(DrawHelper.CreateRoundRect((float)rect.X, (float)rect.Y, (float)rect.Width, (float)rect.Height, radius));
 }