PSHADOW is a drawing tool capable of adding a shadow to an image. The shadow is blurred and deformed by perspective projection. If selection exists, only the selected part will cast shadow. Otherwise, the shadow is cast by any opaque pixel.
The shape of the shadow is initially defined by dragging with left mouse button from a point where the object should touch ground upwards. Afterward, the shape of the shadow can be modified by control handles. Sharpens and density of the shadow at the upper (far) and lower (near) part is defined in the configuration.

PSHADOW tool can be used from scripts. The command in script must have 11 parameters:
DrawTool.PSHADOW(Document, 5, 10, 50, 30, 50, 90, 50, 0, 100, 100, 100);
See also: DrawTool object, Document object
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.