←Select platform
In This Topic ▼

RasterColor Structure Members

Summary

The following tables list the members exposed by RasterColor.

Public Constructors

Name Description
Public Constructor RasterColor Initializes a new RasterColor structure with specific values for red, green and blue.

Public Methods

Name Description
Public Method != Compares two RasterColor objects for inequality.
Public Method == Compares two RasterColor objects for equality.
Public Method Clone Creates an exact copy of this RasterColor
Public Method Create Creates a new RasterColor with the specified values.
Public Method Create Creates a new RasterColor with the specified values.
Public Method Equals Specifies whether two RasterColor objects contain the same values.
Public Method FromArgb Creates a RasterColor from an a rgb value.
Public Method FromColorRef Creates a new RasterColor object from a Windows COLORREF representation.
Public Method FromHtml Converts the specified html color to a RasterColor object.
Public Method FromKnownColor Creates a new RasterColor structure from a known color.
Public Method FromPaletteIndex Creates a new RasterColor object that is an index into a palette
Public Method FromRgb Creates a RasterColor from an rgb value.
Public Method FromRgba Creates a RasterColor from an rgba value.
Public Method GetHashCode Returns a hash code for this RasterColor structure.
Public Method GetKnownColor Gets the known color enumeration member that matches this color ARGB value.
Public Method GetKnownColorName Gets the human readable representation of a known color.
Public Method ToArgb Gets a 32-bit value representation of this RasterColor structure.
Public Method ToHtml Converts this RasterColor structure to an html color.
Public Method ToRgb Gets a 32-bit value representation of this RasterColor structure.
Public Method ToRgba Gets a 32-bit value representation of this RasterColor structure.
Public Method ToString Overridden. Converts this RasterColor structure to a human-readable string.

Public Properties

Name Description
Public Property A Gets or sets the alpha component of this RasterColor structure.
Public Property B Gets or sets the blue component of this RasterColor structure.
Public Property Black Gets a RasterColor that represents black.
Public Property ColorRef Gets a Windows COLORREF color representation of this color.
Public Property G Gets or sets the green component of this RasterColor structure.
Public Property IsKnownColor Gets a value indicating whether this RasterColor structure is a predefined color. Predefined colors are represented by the elements of the RasterKnownColor enumeration.
Public Property IsPaletteIndex Gets a value that determines whether this RasterColor is a palette index value.
Public Property R Gets or sets the red component of this RasterColor structure.
Public Property White Gets a RasterColor that represents white.

Public Fields

Name Description
Public Field MaximumComponent Maximum value for the alpha, red, green, blue component.
Public Field MinimumComponent Minimum value for the alpha, red, green, blue component.

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly