←Select platform

RasterColor Structure Members

Summary

The following tables list the members exposed by RasterColor.

Public Constructors

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

Public Methods

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.

Public Properties

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.
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.
R Gets or sets the red component of this RasterColor structure.
White Gets a RasterColor that represents white.

Public Fields

Name Description
MaximumComponent Maximum value for the alpha, red, green, blue component.
MinimumComponent Minimum value for the alpha, red, green, blue component.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly