Projected shadow drawing tool

rsrc/shadow-tool.png image 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.

rsrc/shadow-tool-config.png image

Scripting parameters

PSHADOW tool can be used from scripts. The command in script must have 11 parameters:

Example

DrawTool.PSHADOW(Document, 5, 10, 50, 30, 50, 90, 50, 0, 100, 100, 100);

See also: DrawTool object, Document object

speech bubble iconRecent comments

user iconMorjoy on August 25th 2015 0

Hello, 1)How do I get rid of a projected shadow on an object. 2) How do I change the size (to much smaller - to put in my web site heading) and how do I move it?

user iconVlasta on August 25th 2015 0

Getting rid of a part of an image is pretty hard, sometimes it may be easier to just re-create an object from scratch. You may try using one of the select tools to mark an area and copy it (here is a tutorial). Resizing image is easy, go to Image menu and click on Resize (Resample) item.

user iconAnonymous on February 17th 2017 0

how to i change animated cursor from real one

user iconRIDDLER on November 27th 2024 0

Can shadows be applied the same way for cursors?

user icon