CogColor4F StructureCognex VisionPro
The CogColor4F struct is a lightweight, immutable representation of an ARGB color with float values

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

[SerializableAttribute]
public struct CogColor4F

The CogColor4F type exposes the following members.

Constructors

  NameDescription
Public methodCogColor4F(Int32, Single)
Constructs CogColor4F instance with the given ARGB byte values
Public methodCogColor4F(Byte, Byte, Byte)
Constructs CogColor4F instance with the given RGB byte values
Public methodCogColor4F(Byte, Byte, Byte, Byte)
Constructs CogColor4F instance with the given ARGB byte values
Public methodCogColor4F(Single, Single, Single, Single)
Constructs CogColor4F instance with the given ARGB float values
Top
Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString (Overrides ValueType ToString .)
Top
Properties

  NameDescription
Public propertyAlpha
Public propertyBlue
Public propertyGreen
Public propertyRed
Top
See Also