-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!
Description
Something like
/// <summary>
/// Return the color with an alpha from 0 (transparent) to 1 (opaque)
/// </summary>
public static Color WithAlpha(this Color color, double alpha=1)
{
/* ... */
}goes here
| public readonly Color WithAlpha(byte alpha) => new(Red, Green, Blue, alpha); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!