Defines a Gray color
| C# | Visual Basic | Visual C++ |
public struct Gray : IColor, IEquatable<Gray>
Public Structure Gray _ Implements IColor, IEquatable(Of Gray)
public value class Gray : IColor, IEquatable<Gray>
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Gray(Double) | Create a Gray color with the given intensity | |
| Dimension |
Get the dimension of this color
| |
| Equals(Gray) |
Return true if the two color equals
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() |
Returns the hash code for this color
(Overrides ValueType.GetHashCode()()().) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Intensity | The intensity of the gray color | |
| MCvScalar |
Get or Set the equivalent MCvScalar value
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() |
Represent this color as a String
(Overrides ValueType.ToString()()().) |