The CogColor4F struct is a lightweight, immutable
representation of an ARGB color with float values
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
The CogColor4F type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogColor4F(Int32, Single) |
Constructs CogColor4F instance with the given ARGB byte values
| |
| CogColor4F(Byte, Byte, Byte) |
Constructs CogColor4F instance with the given RGB byte values
| |
| CogColor4F(Byte, Byte, Byte, Byte) |
Constructs CogColor4F instance with the given ARGB byte values
| |
| CogColor4F(Single, Single, Single, Single) |
Constructs CogColor4F instance with the given ARGB float values
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | (Overrides ValueType ToString .) |
Properties
| Name | Description | |
|---|---|---|
| Alpha | ||
| Blue | ||
| Green | ||
| Red |
See Also