# How can I mask graphics to a resizable rectangle?

**URL:** <https://discourse.processing.org/t/how-can-i-mask-graphics-to-a-resizable-rectangle/23632>\
**Category:** Coding Questions\
**Created:** [September 2, 2020, 12:49pm UTC](https://discourse.processing.org/t/how-can-i-mask-graphics-to-a-resizable-rectangle/23632 "2020-09-02T12:49:04Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Brastin](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@Brastin](https://discourse.processing.org/u/Brastin)\
**Post date:** [September 8, 2020, 5:08am UTC](https://discourse.processing.org/t/how-can-i-mask-graphics-to-a-resizable-rectangle/23632/10 "2020-09-08T05:08:13Z")

</div>

> I have a feeling you might want to look at the nine argument version of `image()` for this - see [Alternative to using get() in a big PGraphics](https://discourse.processing.org/t/alternative-to-using-get-in-a-big-pgraphics/2654/4)  
> This looks promising. Thanks!

---

_[View the full topic](https://discourse.processing.org/t/how-can-i-mask-graphics-to-a-resizable-rectangle/23632)._
