←Select platform

Create Method

Summary
Creates a new RasterColor with the specified values.
Syntax
C#
Objective-C
C++/CLI
Python
public static RasterColor Create( 
   int alpha, 
   int red, 
   int green, 
   int blue 
) 
+ (instancetype)colorWithRed:(NSInteger)red  
                       green:(NSInteger)green  
                        blue:(NSInteger)blue  
                       alpha:(NSInteger)alpha 
public: 
static RasterColor Create(  
   int alpha, 
   int red, 
   int green, 
   int blue 
)  
def Create(self,alpha,red,green,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

Help Version 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.