Graphics.GetNearestColor
Graphics.GetNearestColor method
Gets the nearest color to the specified Color structure.
public Color GetNearestColor(Color color)
Parameter | Type | Description |
---|---|---|
color | Color | Color structure for which to find a match. |
Return Value
A Color structure that represents the nearest color to the one specified with the color parameter.
See Also
- struct Color
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing