Click or drag to resize

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
)

Parameters

color
Type: Eto.DrawingColor
Color to find/add

Return Value

Type: Int32
Index 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