procedure DrawEdge(img: TImage32; const rec: TRect; topLeftColor, bottomRightColor: TColor32; penWidth: double = 1.0); overload;
procedure DrawEdge(img: TImage32; const rec: TRectD; topLeftColor, bottomRightColor: TColor32; penWidth: double = 1.0); overload;
procedure DrawEdge(img: TImage32; const path: TPathD; topLeftColor, bottomRightColor: TColor32; penWidth: double = 1.0);overload;
Draws an edge around the specified shape shaded using the specified colors. Usually the topLeft color is white, or a very pale color, and the bottomRight color a darker color that creates a light-shadow contrast.
Often inner and an outer edges are drawn close together to create an elevated border (reversing the colors on the inner edge). This is demonstrated in the image below.
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025