Browse Source

Fix Bgra32.ToString()

Former-commit-id: c254e98d59d28aaf84fef26734af28a8c1d2ab9b
Former-commit-id: a0a1615e1d6f0c6197da20834678d84cf3cdfccc
Former-commit-id: f0aea6fd0f1ee89c00f6fb3fd6ca9161adc8c632
pull/17/head
James Jackson-South 11 years ago
parent
commit
795c78ff8f
  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> public struct Bgra32 : IEquatable<Bgra32>
{ {
/// <summary> /// <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> /// </summary>
public static readonly Bgra32 Empty = default(Bgra32); public static readonly Bgra32 Empty = default(Bgra32);
@ -172,10 +172,10 @@ namespace ImageProcessor
{ {
if (this.IsEmpty) 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> /// <summary>

Loading…
Cancel
Save