LEADTOOLS (Leadtools assembly)

Create Method (RasterColor)

Show in webframe







Alpha component
Red component
Green component
Blue component
Creates a new RasterColor with the specified values.
Syntax
public static RasterColor Create( 
   int alpha,
   int red,
   int green,
   int blue
)
'Declaration
 
Public Shared Function Create( _
   ByVal alpha As Integer, _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer _
) As RasterColor
'Usage
 
Dim alpha As Integer
Dim red As Integer
Dim green As Integer
Dim blue As Integer
Dim value As RasterColor
 
value = RasterColor.Create(alpha, red, green, blue)
public static RasterColor Create( 
   int alpha,
   int red,
   int green,
   int blue
)
+(id)colorWithRed:(int)red 
            green:(int)green 
             blue:(int)blue 
            alpha:(int)alpha;
                        
            

            
 function Leadtools.RasterColor.Create( 
   alpha ,
   red ,
   green ,
   blue 
)
public:
static RasterColor Create( 
   int alpha,
   int red,
   int green,
   int blue
) 

Parameters

alpha
Alpha component
red
Red component
green
Green component
blue
Blue component

Return Value

The RasterColor object this method creates.
Requirements

Target Platforms

See Also

Reference

RasterColor Structure
RasterColor Members

 

 


Products | Support | Contact Us | Copyright Notices

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