Method function IGDIPlus.IGPPathGradientBrush.SetCenterColor(TGPColor) : TGPPathGradientBrush
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: IGPPathGradientBrush
Contents |
Syntax
Delphi:
function SetCenterColor( color : TGPColor ) : TGPPathGradientBrush;
C++ Builder:
TGPPathGradientBrush __fastcall SetCenterColor( TGPColor color );
Visual C++ (MFC):
SetCenterColor( color );
Summary
Sets the center color of this path gradient brush.
Description
Call this method to set the center color of this path gradient brush. The center color is the color that appears at the brush's center point. Remarks By default the center point is the centroid of the brush's boundary path, but you can set the center point to any location inside or outside the path.