LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

RasterColor Constructor(Int32,Int32,Int32,Int32)






The alpha component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
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. .NET support Silverlight support
Syntax
public RasterColor( 
   int alpha,
   int red,
   int green,
   int blue
)
'Declaration
 
Public Function New( _
   ByVal alpha As Integer, _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer _
)
'Usage
 
Dim alpha As Integer
Dim red As Integer
Dim green As Integer
Dim blue As Integer
 
Dim instance As New RasterColor(alpha, red, green, blue)
public RasterColor( 
   int alpha,
   int red,
   int green,
   int blue
)
function RasterColor( 
   alpha ,
   red ,
   green ,
   blue 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterColor Structure
RasterColor Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.