Declaration
property OffsetY: Integer;
Description
The vertical position of the shadow (negative values position the shadow above).
Alternatively, you can set offsets by angle and distance using
SetByAngleAndDist
Default: 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;