Color
Leave feedback
On this page
Describes a fill or overlay color used in redaction options.
public struct Color : IEquatable<Color>
| Name | Description |
|---|---|
| static Black { get; } | A preset opaque black, commonly used for blackout redactions. |
| static Blue { get; } | A preset opaque blue. |
| static Chocolate { get; } | A preset opaque brown tone used in sample redaction scenarios. |
| static Cyan { get; } | A preset opaque cyan. |
| static Red { get; } | A preset opaque red, often used for highlight-style redactions. |
| static Transparent { get; } | A fully transparent color. |
| static Yellow { get; } | A preset opaque yellow. |
| A { get; } | Opacity of the color. 0 is fully transparent, 255 is fully opaque. |
| B { get; } | Blue channel intensity. |
| G { get; } | Green channel intensity. |
| R { get; } | Red channel intensity. |
| Name | Description |
|---|---|
| static FromArgb(int) | Builds a color from a packed 32-bit value in ARGB order. |
| static FromArgb(int, int, int, int) | Builds a color from separate channel values. |
| Equals(Color) | Compares channel values with another redaction color. |
| override Equals(object) | Compares this color with another object. |
| override GetHashCode() | Returns a hash code based on the packed ARGB value. |
| ToArgb() | Returns the color as a packed 32-bit ARGB value. |
| override ToString() | Returns channel values in a readable form. |
- namespace GroupDocs.Redaction.Options.Drawing
- assembly GroupDocs.Redaction
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.