Hi Klaus
Unfortunately that is not practical to do as an overload (params would be the same), but the math is pretty straightforward:
// Add a soft shadow to the current image using an angle
angle := 45; // angled toward the bottom-right
dist := 5;
offX := cos( IEDegreesToRadians( angle )) * dist;
offY := sin( IEDegreesToRadians( angle )) * dist;
ImageEnView1.Proc.AddSoftShadow( 5, offX, offY );
Nigel
Xequte Software
www.imageen.com