The following tables list the members exposed by RasterColor.
Name | Description | |
---|---|---|
RasterColor | Initializes a new RasterColor structure with specific values for red, green and blue. |
Name | Description | |
---|---|---|
!= | Compares two RasterColor objects for inequality. | |
== | Compares two RasterColor objects for equality. | |
Clone | Creates an exact copy of this RasterColor | |
Create | Creates a new RasterColor with the specified values. | |
Create | Creates a new RasterColor with the specified values. | |
Equals | Specifies whether two RasterColor objects contain the same values. | |
FromArgb | Creates a RasterColor from an a rgb value. | |
FromColorRef | Creates a new RasterColor object from a Windows COLORREF representation. | |
FromHtml | Converts the specified html color to a RasterColor object. | |
FromKnownColor | Creates a new RasterColor structure from a known color. | |
FromPaletteIndex | Creates a new RasterColor object that is an index into a palette | |
FromRgb | Creates a RasterColor from an rgb value. | |
FromRgba | Creates a RasterColor from an rgba value. | |
GetHashCode | Returns a hash code for this RasterColor structure. | |
GetKnownColor | Gets the known color enumeration member that matches this color ARGB value. | |
GetKnownColorName | Gets the human readable representation of a known color. | |
ToArgb | Gets a 32-bit value representation of this RasterColor structure. | |
ToHtml | Converts this RasterColor structure to an html color. | |
ToRgb | Gets a 32-bit value representation of this RasterColor structure. | |
ToRgba | Gets a 32-bit value representation of this RasterColor structure. | |
ToString | Overridden. Converts this RasterColor structure to a human-readable string. |
Name | Description | |
---|---|---|
A | Gets or sets the alpha component of this RasterColor structure. | |
B | Gets or sets the blue component of this RasterColor structure. | |
Black | Gets a RasterColor that represents black. | |
ColorRef | Gets a Windows COLORREF color representation of this color. | |
G | Gets or sets the green component of this RasterColor structure. | |
IsEmptyColor | This property indicates whether RasterColor.EmptyColor is set to 2. Setting this property to true sets RasterColor.EmptyColor to 2 (or RasterColor.EmptyColor) | |
IsKnownColor | Gets a value indicating whether this RasterColor structure is a predefined color. Predefined colors are represented by the elements of the RasterKnownColor enumeration. | |
IsPaletteIndex | Gets a value that determines whether this RasterColor is a palette index value. | |
IsReservedColor | This property indicates whether RasterColor.Reserved is set to 1. Setting this property to true sets RasterColor.Reserved or RasterColor.ReservedColor to 1. | |
R | Gets or sets the red component of this RasterColor structure. | |
Reserved | The Reserved component of this RasterColor structure. | |
White | Gets a RasterColor that represents white. |
Name | Description | |
---|---|---|
EmptyColor | Fixed value equal to 2 (0x02). | |
MaximumComponent | Maximum value for the alpha, red, green, blue component. | |
MinimumComponent | Minimum value for the alpha, red, green, blue component. | |
ReservedColor | Fixed value equal to 0x01. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.