Catch properties of SVG like fill, stroke and strokeWeight

Who know the method to catch the properties of an SVG file : fill, stroke and strokeWeight of the SVG child I try something like, "p" is a last child of a PShape object from SVG import, but that's don't work. May be I must find something around the properties XML, but I don't know how... more about the SVG work here

    this.fill = p.fillColor ;
    this.stroke = p.strokeColor ;
    this.thickness = p.strokeWeight ;
Sign In or Register to comment.