←Select platform

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 != 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 IsEmptyColor This property indicates whether RasterColor.EmptyColor is set to 2. Setting this property to true sets RasterColor.EmptyColor to 2 (or RasterColor.EmptyColor)
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 IsReservedColor This property indicates whether RasterColor.Reserved is set to 1. Setting this property to true sets RasterColor.Reserved or RasterColor.ReservedColor to 1.
Public Property R Gets or sets the red component of this RasterColor structure.
Public Property Reserved The Reserved 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 EmptyColor Fixed value equal to 2 (0x02).
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.
Public Field static  | Shared in VB ReservedColor Fixed value equal to 0x01.

See Also

RasterColor Structure

Leadtools Namespace

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

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.