Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterColor Structure Members
See Also  Fields  Properties  Methods 
Leadtools Namespace : RasterColor Structure


The following tables list the members exposed by RasterColor.

Public Constructors

 NameDescription
Public ConstructorRasterColor ConstructorOverloaded.  Initializes a new RasterColor structure with specific values for red, green and blue.  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)MaximumComponent Maximum value for the alpha, red, green, blue component.  
Public Fieldstatic (Shared in Visual Basic)MinimumComponent Minimum value for the alpha, red, green, blue component.  
Top

Public Properties

 NameDescription
Public PropertyA Gets or sets the alpha component of this RasterColor structure.  
Public PropertyB Gets or sets the blue component of this RasterColor structure.  
Public PropertyG Gets or sets the green component of this RasterColor structure.  
Public PropertyIsPaletteIndex Gets a value that determines whether this RasterColor is a palette index value.  
Public PropertyR Gets or sets the red component of this RasterColor structure.  
Top

Public Methods

 NameDescription
Public MethodEquals (Inherited from System.ValueType)
Public Methodstatic (Shared in Visual Basic)FromArgb Creates a RasterColor from an a rgb value.  
Public Methodstatic (Shared in Visual Basic)FromGdiPlusColor Creates a RasterColor from a .NET Color structure.  
Public Methodstatic (Shared in Visual Basic)FromPaletteIndex Creates a new RasterColor object that is an index into a palette  
Public Methodstatic (Shared in Visual Basic)FromRgb Creates a RasterColor from an rgb value.  
Public Methodstatic (Shared in Visual Basic)FromRgba Creates a RasterColor from a rgba value.  
Public MethodGetHashCode (Inherited from System.ValueType)
Public MethodToArgb Gets a 32-bit value representation of this RasterColor structure.  
Public MethodToGdiPlusColor Converts this RasterColor to a .NET Color structure  
Public MethodToRgb Gets a 32-bit value representation of this RasterColor structure.  
Public MethodToRgba Gets a 32-bit value representation of this RasterColor structure.  
Public MethodToStringOverridden.  Overridden. Converts this RasterColor structure to a human-readable string.  
Top

See Also