MCPcopy Index your code
hub / github.com/processing/processing / parseRect

Method parseRect

core/src/processing/core/PShapeSVG.java:443–452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441
442
443 protected void parseRect() {
444 kind = RECT;
445 family = PRIMITIVE;
446 params = new float[] {
447 getFloatWithUnit(element, "x", svgWidth),
448 getFloatWithUnit(element, "y", svgHeight),
449 getFloatWithUnit(element, "width", svgWidth),
450 getFloatWithUnit(element, "height", svgHeight)
451 };
452 }
453
454
455 protected void parseImage() {

Callers 1

parseChildMethod · 0.95

Calls 1

getFloatWithUnitMethod · 0.95

Tested by

no test coverage detected