←Select platform

Create Method

Summary

Creates a new RasterColor with the specified values.

Syntax
C#
VB
Objective-C
C++
public static RasterColor Create( 
   int alpha, 
   int red, 
   int green, 
   int blue 
) 
Public Shared Function Create( _ 
   ByVal alpha As Integer, _ 
   ByVal red As Integer, _ 
   ByVal green As Integer, _ 
   ByVal blue As Integer _ 
) As RasterColor 
+ (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 
)  

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly