bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
406 stars 57 forks source link

Inner shadow #129

Closed lainz closed 4 years ago

lainz commented 4 years ago

Is possible to add inner shadow?

Is like taking the shape of the object, and using it as a clear mask for the fill color. At least for standard shapes works like that...

Example, the code is at the bgrabitmap/demo repository. softui

circular17 commented 4 years ago

Added inner shadow and inner light script on dev branch.

test_innershadow

lainz commented 4 years ago

Thanks. I will try it tomorrow.

circular17 commented 4 years ago

Closing this ticket as it will be part of the layer effects See https://github.com/bgrabitmap/lazpaint/issues/69

lainz commented 4 years ago

Thanks.