PaletteFindAddColour Method |
Finds the index of the specified color, or adds it if it does not exist
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public int FindAddColour(
Color color
)
Public Function FindAddColour (
color As Color
) As Integer
member FindAddColour :
color : Color -> int
Parameters
- color
- Type: Eto.DrawingColor
Color to find/add
Return Value
Type:
Int32Index of the existing entry in this palette that matches the specified color, or the index of the newly added entry if not found
See Also