1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Fixed doc-comment mistake

This commit is contained in:
Darth Affe 2024-07-22 00:00:28 +02:00
parent cfbbdc6069
commit 1396e978db

View File

@ -9,14 +9,14 @@ namespace RGB.NET.Presets.Extensions;
public static class HPPHExtensions public static class HPPHExtensions
{ {
/// <summary> /// <summary>
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Color"/>. /// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Core.Color"/>.
/// </summary> /// </summary>
/// <param name="color">The color to convert.</param> /// <param name="color">The color to convert.</param>
/// <returns>The converted color.</returns> /// <returns>The converted color.</returns>
public static Color ToColor(this IColor color) => new(color.A, color.R, color.G, color.B); public static Color ToColor(this IColor color) => new(color.A, color.R, color.G, color.B);
/// <summary> /// <summary>
/// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Color"/>. /// Converts the given HPPH <see cref="IColor"/> to a RGB.NET <see cref="Core.Color"/>.
/// </summary> /// </summary>
/// <param name="color">The color to convert.</param> /// <param name="color">The color to convert.</param>
/// <typeparam name="T">The color-type of the HPPH color.</typeparam> /// <typeparam name="T">The color-type of the HPPH color.</typeparam>