Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to show an image that exceeds the area is cut. #978

Closed
dykim1004 opened this issue Oct 31, 2016 · 2 comments
Closed

I want to show an image that exceeds the area is cut. #978

dykim1004 opened this issue Oct 31, 2016 · 2 comments

Comments

@dykim1004
Copy link

The transform css was using translate, rotate, scale.
JI GIL as a result of its wish to draw on the canvas.

html2canvas 0.5.0-alpha1

-- result --

html2canvas 0 5 0-alpha1

custom souce ...

CanvasRenderer.prototype.clip = function(shapes, callback, context) {
//this.ctx.save();
shapes.filter(hasEntries).forEach(function(shape) {
this.shape(shape).clip();
}, this);
callback.call(context);
//this.ctx.restore();
};

-- result --

customimg

I do wonder sikijineun edits an error occurred in the utility function.
Otherwise, when the corresponding overflow hidden in one version, the car I want to provide an option to be able to cut img screent shot. Thank you

@niklasvh
Copy link
Owner

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.

@no-response
Copy link

no-response bot commented Dec 12, 2017

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants