HueCollectionContains Method (Single)
Checks whether a specified hue exists in this collection.
public bool Contains(
float hue
)
Public Function Contains (
hue As Single
) As Boolean
Parameters
- hueSystemSingle
- Hue in turns to find in the collection.
Return Value
Booleantrue if found, otherwise
false.
Implements
ICollectionTContains(T)Remarks
The specified hue will be normalized to turns in the range [0, 1). This means that if
you have added the hue 180 degrees to the collection and then asks this method if the hue
1.5 turns is existing in the collection, it will return true.
See Also