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
brm121966
Posted - Jan 16 2024 : 23:38:25 Hi. Please tell me how to implement Outer Glow in realtime with parameters as in the picture for the ielkImage layer. Thank you.
Rudolf
2 L A T E S T R E P L I E S (Newest First)
brm121966
Posted - Jan 18 2024 : 23:18:50 Thanks Nigel.
Rudolf
xequte
Posted - Jan 18 2024 : 19:23:17 Hi Rudolf
Please use:
// Add an outer glow effect to the current layer
ImageEnView1.CurrentLayer.SoftShadow.Enabled := True;
ImageEnView1.CurrentLayer.SoftShadow.OffsetX := 0;
ImageEnView1.CurrentLayer.SoftShadow.OffsetY := 0;
ImageEnView1.CurrentLayer.SoftShadow.ShadowColor := TColor2TRGB( clRed );
ImageEnView1.CurrentLayer.SoftShadow.Radius := 5;
ImageEnView1.Update();