Description
Whenever I try to use shape with the SVG renderer I get an textMode(SHAPE) is not supported by this renderer. error message. I thought at first that the error meant the SVG renderer did not support PShape objects, but the output ends up being correct and the .svg file does get produced.
import processing.svg.*;
void setup() {
size(400, 400, SVG, "filename.svg");
//size(400, 400);
}
void draw() {
PShape s = createShape();
s.beginShape();
s.fill(255,0,0);
s.vertex(0,0);
s.vertex(50,0);
s.vertex(50,50);
s.endShape(CLOSE);
shape(s);
// Exit the program
println("Finished.");
exit();
}
Expected Behavior
Current Behavior
textMode(SHAPE) is not supported by this renderer.
Finished.
Steps to Reproduce
Run the code.
Your Environment
- Processing version: 3.5.4
- Operating System and OS version: Win 10
- Other information:
Possible Causes / Solutions
Description
Whenever I try to use
shapewith the SVG renderer I get antextMode(SHAPE) is not supported by this renderer.error message. I thought at first that the error meant the SVG renderer did not supportPShapeobjects, but the output ends up being correct and the.svgfile does get produced.Expected Behavior
Current Behavior
Steps to Reproduce
Run the code.
Your Environment
Possible Causes / Solutions