webfactorymk/ng2-canvas-whiteboard

Image Object-Fit

Closed this issue · 2 comments

Hi,
it seems that the canvas use the object-fit: cover to show the image. There is a way to use the object-fit: contain?

Thanks in advance.

Resolved with AspectRatio property. Thanks

Even after giving AspectRatio = 0 the canvas still cut of some part of the image.