Skip to content

Commit

Permalink
Add triple slash comments for new System.Drawing API added in 6.0 (#5…
Browse files Browse the repository at this point in the history
…7313)

* Add triple slash comments for new System.Drawing API added in 6.0

Co-authored-by: Genevieve Warren <[email protected]>
  • Loading branch information
safern and gewarren authored Aug 13, 2021
1 parent defa26b commit 7b0a27e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libraries/Common/src/System/Drawing/KnownColor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public enum KnownColor
MenuHighlight,

// "Web" colors, Part 2
/// <summary>
/// A system defined color representing the ARGB value <c>#663399</c>.
/// </summary>
RebeccaPurple,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ namespace System.Drawing

public static Color Purple => new Color(KnownColor.Purple);

/// <summary>
/// Gets a system-defined color that has an ARGB value of <c>#663399</c>.
/// </summary>
/// <value>A system-defined color.</value>
public static Color RebeccaPurple => new Color(KnownColor.RebeccaPurple);

public static Color Red => new Color(KnownColor.Red);
Expand Down

0 comments on commit 7b0a27e

Please sign in to comment.