Пример #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="RgbaVector"/> struct.
 /// </summary>
 /// <param name="hex">
 /// The hexadecimal representation of the combined color components arranged
 /// in rgb, rgba, rrggbb, or rrggbbaa format to match web syntax.
 /// </param>
 /// <returns>
 /// The <see cref="RgbaVector"/>.
 /// </returns>
 public static RgbaVector FromHex(string hex) => ColorBuilder <RgbaVector> .FromHex(hex);
Пример #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="RgbaVector"/> struct.
 /// </summary>
 /// <param name="hex">
 /// The hexadecimal representation of the combined color components arranged
 /// in rgb, rgba, rrggbb, or rrggbbaa format to match web syntax.
 /// </param>
 /// <returns>
 /// The <see cref="RgbaVector"/>.
 /// </returns>
 public static RgbaVector FromHex(string hex)
 {
     return(ColorBuilder <RgbaVector> .FromHex(hex));
 }