From 4b272b18eadbec6c07693223e96cb6b95a532eb7 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 11 Oct 2020 04:01:18 -0400 Subject: Improve comments in Color documentation --- .../mono/glue/GodotSharp/GodotSharp/Core/Color.cs | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'modules') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Color.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Color.cs index d0add835c0..e42d067a7a 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Color.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Color.cs @@ -337,8 +337,8 @@ namespace Godot } /// - /// Returns the color's 32-bit integer in ABGR format - /// (each byte represents a component of the ABGR profile). + /// Returns the color converted to an unsigned 32-bit integer in ABGR + /// format (each byte represents a color channel). /// ABGR is the reversed version of the default format. /// /// A uint representing this color in ABGR32 format. @@ -356,8 +356,8 @@ namespace Godot } /// - /// Returns the color's 64-bit integer in ABGR format - /// (each word represents a component of the ABGR profile). + /// Returns the color converted to an unsigned 64-bit integer in ABGR + /// format (each word represents a color channel). /// ABGR is the reversed version of the default format. /// /// A ulong representing this color in ABGR64 format. @@ -375,8 +375,8 @@ namespace Godot } /// - /// Returns the color's 32-bit integer in ARGB format - /// (each byte represents a component of the ARGB profile). + /// Returns the color converted to an unsigned 32-bit integer in ARGB + /// format (each byte represents a color channel). /// ARGB is more compatible with DirectX, but not used much in Godot. /// /// A uint representing this color in ARGB32 format. @@ -394,8 +394,8 @@ namespace Godot } /// - /// Returns the color's 64-bit integer in ARGB format - /// (each word represents a component of the ARGB profile). + /// Returns the color converted to an unsigned 64-bit integer in ARGB + /// format (each word represents a color channel). /// ARGB is more compatible with DirectX, but not used much in Godot. /// /// A ulong representing this color in ARGB64 format. @@ -413,8 +413,8 @@ namespace Godot } /// - /// Returns the color's 32-bit integer in RGBA format - /// (each byte represents a component of the RGBA profile). + /// Returns the color converted to an unsigned 32-bit integer in RGBA + /// format (each byte represents a color channel). /// RGBA is Godot's default and recommended format. /// /// A uint representing this color in RGBA32 format. @@ -432,8 +432,8 @@ namespace Godot } /// - /// Returns the color's 64-bit integer in RGBA format - /// (each word represents a component of the RGBA profile). + /// Returns the color converted to an unsigned 64-bit integer in RGBA + /// format (each word represents a color channel). /// RGBA is Godot's default and recommended format. /// /// A ulong representing this color in RGBA64 format. @@ -472,7 +472,7 @@ namespace Godot } /// - /// Constructs a color from RGBA values on the range of 0 to 1. + /// Constructs a color from RGBA values, typically on the range of 0 to 1. /// /// The color's red component, typically on the range of 0 to 1. /// The color's green component, typically on the range of 0 to 1. @@ -500,8 +500,8 @@ namespace Godot } /// - /// Constructs a color from a 32-bit integer - /// (each byte represents a component of the RGBA profile). + /// Constructs a color from an unsigned 32-bit integer in RGBA format + /// (each byte represents a color channel). /// /// The uint representing the color. public Color(uint rgba) @@ -516,8 +516,8 @@ namespace Godot } /// - /// Constructs a color from a 64-bit integer - /// (each word represents a component of the RGBA profile). + /// Constructs a color from an unsigned 64-bit integer in RGBA format + /// (each word represents a color channel). /// /// The ulong representing the color. public Color(ulong rgba) -- cgit v1.2.3