MaskGraphic SetMaskBlueGreenRed Method (Byte, Color32)Cognex VisionPro 9.21

Copy the Blue, Green, and Red components of the supplied color argument into the color associated with the specified mask value. The Alpha component of that entry is unchanged.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public void SetMaskBlueGreenRed(
	byte maskVal,
	Color32 blueGreenRedVal
)

Parameters

maskVal
Type: System Byte
The mask pixel value.
blueGreenRedVal
Type: Cognex.Vision Color32
The source of the desired Blue, Green, and Red components for the specified color entry.
See Also