Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterColor Constructor(Int32,Int32,Int32,Int32)
See Also 
Leadtools Namespace > RasterColor Structure > RasterColor Constructor : RasterColor Constructor(Int32,Int32,Int32,Int32)



alpha
The alpha component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
red
The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
green
The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
blue
The blue component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
Initializes a new RasterColor structure with specific values for red, green and blue.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal alpha As Integer, _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer _
)
Visual Basic (Usage) Copy Code
Dim alpha As Integer
Dim red As Integer
Dim green As Integer
Dim blue As Integer
 
Dim instance As RasterColor(alpha, red, green, blue)
C#  
public RasterColor( 
   int alpha,
   int red,
   int green,
   int blue
)
C++/CLI  
public:
RasterColor( 
   int alpha,
   int red,
   int green,
   int blue
)

Parameters

alpha
The alpha component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
red
The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
green
The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
blue
The blue component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.

Example

For an example, refer to RasterColor

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also