←Select platform

RasterColor Constructor(int,int,int,int)

Summary

Initializes a new RasterColor structure with specific values for red, green and blue.

Syntax
C#
VB
Java
Objective-C
C++
public RasterColor( 
   int alpha, 
   int red, 
   int green, 
   int blue 
) 
Public Function New( _ 
   ByVal alpha As Integer, _ 
   ByVal red As Integer, _ 
   ByVal green As Integer, _ 
   ByVal blue As Integer _ 
) 
- (instancetype)initWithRed:(NSInteger)red  
                      green:(NSInteger)green 
                       blue:(NSInteger)blue 
                      alpha:(NSInteger)alpha 
public RasterColor( 
  int alpha,  
  int red,  
  int green,  
  int 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

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

Leadtools Assembly