Skip to content

Commit ea5f99a

Browse files
committed
fixing class issues inside PShape
1 parent 6da7089 commit ea5f99a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/.classpath

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<classpathentry combineaccessrules="false" kind="src" path="/pdf"/>
1414
<classpathentry combineaccessrules="false" kind="src" path="/serial"/>
1515
<classpathentry combineaccessrules="false" kind="src" path="/video"/>
16-
<classpathentry combineaccessrules="false" kind="src" path="/xml"/>
1716
<classpathentry kind="lib" path="lib/antlr.jar"/>
1817
<classpathentry kind="lib" path="lib/jna.jar"/>
1918
<classpathentry kind="lib" path="lib/ecj.jar"/>

core/src/processing/core/PShapeSVG.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,8 @@ protected void fillGradient(PGraphics g, String name, float x1, float y1, float
10351035
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10361036

10371037

1038-
class Gradient extends PShapeSVG {
1038+
1039+
static class Gradient extends PShapeSVG {
10391040
AffineTransform transform;
10401041

10411042
float[] offset;
@@ -1334,7 +1335,7 @@ public Raster getRaster(int x, int y, int w, int h) {
13341335
}
13351336
}
13361337

1337-
1338+
13381339
protected Paint calcGradientPaint(Gradient gradient) {
13391340
if (gradient instanceof LinearGradient) {
13401341
LinearGradient grad = (LinearGradient) gradient;

0 commit comments

Comments
 (0)