# Is it possible to extend the classes PGraphics/ PGraphics3D?

**URL:** <https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593>\
**Category:** Libraries\
**Created:** [July 8, 2018, 2:42pm UTC](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593 "2018-07-08T14:42:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [July 8, 2018, 3:18pm UTC](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593/2 "2018-07-08T15:18:32Z")

</div>

> [@teresa](#):
>
> … I was wondering if it is even possible to extend the classes PGraphics/PGraphics3D?

I’ve done to PGraphicsJava2D here. But never tried PGraphics3D yet: 🙄

- [PShape inside a class, or extend PShape - Processing 2.x and 3.x Forum](https://Forum.Processing.org/two/discussion/16314/pshape-inside-a-class-or-extend-pshape#Item_4)

---

_[View the full topic](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593)._
