We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can you cut graphics in createjs?like the clip() of the native canvas
The text was updated successfully, but these errors were encountered:
@yuanhaotian - yes - there is a sourceRect property of the Bitmap class https://createjs.com/docs/easeljs/classes/Bitmap.html#property_sourceRect or you can make a mask with a Shape. We add the width, height, left and top as parameters to a ZIM Bitmap() which extends a CreateJS Bitmap - https://zimjs.com/docs.html?item=Bitmap to make things easier - but that is in ZIM.
Sorry, something went wrong.
No branches or pull requests
Can you cut graphics in createjs?like the clip() of the native canvas
The text was updated successfully, but these errors were encountered: