konvajs / react-konva

React + Canvas = Love. JavaScript library for drawing complex canvas graphics using React.
https://konvajs.github.io/docs/react/
MIT License
5.8k stars 260 forks source link

[feature request] Function components image add padding #780

Closed udarts closed 1 year ago

udarts commented 1 year ago

I would like to use padding on images when using functional components. It is possible with text, transformers, etc, but not with images.

lavrton commented 1 year ago

There are no plans to add padding for the image. Manually calculate where the image should be placed.