Declaration
property OffsetX: Integer;
Description
The horizontal relative position of the shadow (negative values position the shadow to the right).
Alternatively, you can set offsets by angle and distance using
SetByAngleAndDistDefault: 3
// Add a soft shadow to the current layer angled toward the bottom-right
ImageEnView1.CurrentLayer.SoftShadow.OffsetX := 5;
ImageEnView1.CurrentLayer.SoftShadow.OffsetY := 5;
ImageEnView1.CurrentLayer.SoftShadow.Enabled := True;
ImageEnView1.Update;