cc.beginDraw();
cc.shapeMode(CENTER);
for(int i=0;i<states.length;i++){
PShape state = usa.getChild(states[i]);
state.disableStyle();
cc.fill(i*5,i*5,50);
cc.shape(state,620,370);
}
cc.endDraw();
image(cc,0,0);
Here is where I create the Pgraphics to display the SVG and color the states.
Thanks!!