GetNearestColorIndex

GetNearestColorIndex(int)

Hämtar index för närmaste 32-bitars ARGB-färg.

public int GetNearestColorIndex(int argb32Color)
ParameterTypBeskrivning
argb32ColorInt3232-bitars ARGB-färgen.

Returvärde

Indexet för närmaste färg.

Se även


GetNearestColorIndex(Color)

Hämtar index för närmaste färg.

public int GetNearestColorIndex(Color color)
ParameterTypBeskrivning
colorColorFärgen.

Returvärde

Indexet för närmaste färg.

Se även