Method function IGDIPlus.IGPGraphics.GetNearestColor(TGPColor) : TGPColor
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPGraphics
Contents |
Syntax
Delphi:
function GetNearestColor( AColor : TGPColor ) : TGPColor;
C++ Builder:
TGPColor __fastcall GetNearestColor( TGPColor AColor );
Visual C++ (MFC):
GetNearestColor( AColor );
Summary
Returns the nearest color to the color that is passed in. This method works on 8-bits per pixel or lower display devices for which there is an 8-bit color palette.
Description
Call this method to get the nearest color to the color that is passed in. This method works on 8-bits per pixel or lower display devices for which there is an 8-bit color palette.