←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
static  | Shared in VB</div>
!= Compares two RasterColor objects for inequality.
Public Method static  | Shared in VB == Compares two RasterColor objects for equality.
Public Method Clone Creates an exact copy of this RasterColor
Public Method static  | Shared in VB Create Creates a new RasterColor with the specified values.
Public Method Create Creates a new RasterColor with the specified values.
Public Method static  | Shared in VB Equals Specifies whether two RasterColor objects contain the same values.
Public Method static  | Shared in VB FromArgb Creates a RasterColor from an a rgb value.
Public Method static  | Shared in VB FromColorRef Creates a new RasterColor object from a Windows COLORREF representation.
Public Method static  | Shared in VB FromHtml Converts the specified html color to a RasterColor object.
Public Method static  | Shared in VB FromKnownColor Creates a new RasterColor structure from a known color.
Public Method static  | Shared in VB FromPaletteIndex Creates a new RasterColor object that is an index into a palette
Public Method static  | Shared in VB FromRgb Creates a RasterColor from an rgb value.
Public Method static  | Shared in VB 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 static  | Shared in VB 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 static  | Shared in VB 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 static  | Shared in VB White Gets a RasterColor that represents white.

Public Fields

Name Description
Public Field
static  | Shared in VB
MaximumComponent Maximum value for the alpha, red, green, blue component.
Public Field static  | Shared in VB MinimumComponent Minimum value for the alpha, red, green, blue component.

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

Leadtools Assembly