Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

PShape: Getting style information

$
0
0
Am I correct in thinking there is no way to get access to style information contained in PShape objects? Looking at PShape and PShapeSVG (links below) as a way to import data, but without access to style data that's not possible.

Source:
https://github.com/processing/processing/blob/master/core/src/processing/core/PShapeSVG.java

I realize there are good reasons why the internal data is protected, but I'm surprised that there are no get() functions. I also note that PShape contains code to describe gradients, but that it's only used internally.

Viewing all articles
Browse latest Browse all 1768

Trending Articles