Draw section of shape with EaselJS
问题 I have been trying to find out if it is possible to draw only a section of a shape using EaselJS. For example, is it possible to create a Rounded Rectangle, but only draw the top two thirds of it? (Effectively not displaying the bottom third). Thank you in advance for any advice you may have! 回答1: What is the end goal? Depending on what you want to do, there are a few ways to do it: Mask it using another shape to crop it Cache it to the size you want http://jsfiddle.net/lannymcnie/f1zh3qwx/ /