Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/src/processing/core/PShape.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -3326,6 +3326,10 @@ public void scale(float x, float y, float z) {


//

public PMatrix getMatrix() {
return matrix;
}

/**
*
Expand Down