Click or drag to resize

PaletteFindClosest Method

Finds the closest color in this palette to the specified color

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public int FindClosest(
	Color color
)

Parameters

color
Type: Eto.DrawingColor
Color to use to find the closest color

Return Value

Type: Int32
Index of the closest entry of the specified color
See Also