fixing PGraphics3.ellipse() and others

This commit is contained in:
benfry
2005-02-27 23:12:18 +00:00
parent 23b1a91e82
commit f5ff10c4d6
4 changed files with 84 additions and 13 deletions

View File

@@ -306,10 +306,13 @@ public class PGraphics2 extends PGraphics {
public void curveVertex(float x, float y) {
// TODO handle inverse matrix action
throw new RuntimeException("curveVertex() not yet implemented");
}
public void endShape() {
//System.out.println("endShape");
shape = 0;
switch (shape) {
@@ -347,6 +350,7 @@ public class PGraphics2 extends PGraphics {
protected void stroke_shape(Shape s) {
if (stroke) {
//System.out.println("stroking shape");
graphics.setColor(strokeColorObject);
graphics.draw(s);
}