LEADTOOLS (Leadtools assembly)

RasterColor Constructor(Int32,Int32,Int32,Int32)

Show in webframe







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.
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
)
-(id)initWithRed:(int)red 
green:(int)green 
 blue:(int)blue
alpha:(int)alpha;
            
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

See Also

Reference

RasterColor Structure
RasterColor Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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