ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Outer Glow
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

brm121966

USA
64 Posts

Posted - Jan 16 2024 :  23:38:25  Show Profile  Reply
Hi.
Please tell me how to implement Outer Glow in realtime with parameters as in the picture
for the ielkImage layer.
Thank you.



Rudolf

xequte

38615 Posts

Posted - Jan 18 2024 :  19:23:17  Show Profile  Reply
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();



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

brm121966

USA
64 Posts

Posted - Jan 18 2024 :  23:18:50  Show Profile  Reply
Thanks Nigel.

Rudolf
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: