←Select platform

MinimumComponent Field

Summary
Minimum value for the alpha, red, green, blue component.
Syntax
C#
C++/CLI
Java
Python
public static readonly byte MinimumComponent 
public static final int MINIMUM_COMPONENT = 0; 
public: 
static readonly byte MinimumComponent 
MinimumComponent (RasterColor) 
Example
C#
using Leadtools; 
 
 
public void FromRgbExample() 
{ 
	RasterColor[] colors = new RasterColor[RasterColor.MaximumComponent - RasterColor.MinimumComponent + 1]; 
	for (int i = RasterColor.MinimumComponent; i < RasterColor.MaximumComponent; i++) 
	{ 
		colors[i] = RasterColor.FromRgb(i); 
	} 
 
	for (int i = RasterColor.MinimumComponent; i < RasterColor.MaximumComponent; i++) 
	{ 
		Assert.IsTrue(colors[i].ToRgb() == i); 
	} 
} 
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.