diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java index 16eaf6f1dd..8c601f198d 100644 --- a/core/src/processing/core/PShape.java +++ b/core/src/processing/core/PShape.java @@ -3046,7 +3046,7 @@ public boolean isClosed() { /** * Return true if this x, y coordinate is part of this shape. Only works * with PATH shapes or GROUP shapes that contain other GROUPs or PATHs. - * This method is not imperfect and doesn't account for all cases + * This method is not perfect and doesn't account for all cases * (not all complex shapes: concave shapes or holes may have issues). */ public boolean contains(float x, float y) { @@ -3326,6 +3326,10 @@ public void scale(float x, float y, float z) { // + + public PMatrix getMatrix() { + return matrix; + } /** *