Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
PeterPanino
Posted - Jun 19 2017 : 05:46:42 Is there a ready-made routine to add a dotted (or dashed) contrast border to a Bitmap?
A dotted contrast border is a dotted border line which contrasts with a surrounding background of any color.
For example: When the bitmap is black or partly black then it does not contrast with a surrounding black background and therefore could be invisible for the user. The same is the case for any other color. A dotted contrast border at least makes the bitmap dimensions visible in any case.
Of course, the contrast border should also contrast with any of the bitmap's colors.
Unfortunately, TIEBitmap does not have such a method (TIEBitmap.AddContrastborder). Any idea?
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Jun 19 2017 : 18:03:33 Hi Peter
Couldn't you just draw a line to the canvas with the pen style set to dotted and the mode set to something like pmNot?