Пример #1
0
 public static ColorRGBAf rgba_pre(ColorRGBAf c)
 {
     return(new ColorRGBAf(c).premultiply());
 }
Пример #2
0
 public static ColorRGBAf rgba_pre(ColorRGBAf c, float a)
 {
     return(new ColorRGBAf(c, a).premultiply());
 }
Пример #3
0
 public ColorRGBAf(ColorRGBAf c)
     : this(c, c.alpha)
 {
 }