Browse Source

Fix Bgra32.ToString()

Former-commit-id: 7557d3cdd7fd95ec468e609e6bceda343f6a52b9
Former-commit-id: 6306f95c07dba6081883fb33588b7b21f5465632
Former-commit-id: 9bbc76da966c76bfea8bd23b8e04e30368c6898b
af/merge-core
James Jackson-South 10 years ago
parent
commit
8ce0085eda
  1. 6
      src/ImageProcessor/Colors/Formats/Bgra32.cs

6
src/ImageProcessor/Colors/Formats/Bgra32.cs

@ -15,7 +15,7 @@ namespace ImageProcessor
public struct Bgra32 : IEquatable<Bgra32>
{
/// <summary>
/// Represents a <see cref="Bgra32"/> that has B, G, R, and A values set to zero.
/// Represents a 32 bit <see cref="Bgra32"/> that has B, G, R, and A values set to zero.
/// </summary>
public static readonly Bgra32 Empty = default(Bgra32);
@ -172,10 +172,10 @@ namespace ImageProcessor
{
if (this.IsEmpty)
{
return "Color [ Empty ]";
return "Bgra32 [ Empty ]";
}
return $"Color [ B={this.B}, G={this.G}, R={this.R}, A={this.A} ]";
return $"Bgra32 [ B={this.B}, G={this.G}, R={this.R}, A={this.A} ]";
}
/// <summary>

Loading…
Cancel
Save