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

Method parseLine

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

Source from the content-addressed store, hash-verified

402
403
404 protected void parseLine() {
405 kind = LINE;
406 family = PRIMITIVE;
407 params = new float[] {
408 getFloatWithUnit(element, "x1", svgWidth),
409 getFloatWithUnit(element, "y1", svgHeight),
410 getFloatWithUnit(element, "x2", svgWidth),
411 getFloatWithUnit(element, "y2", svgHeight)
412 };
413 }
414
415
416 /**

Callers 1

parseChildMethod · 0.95

Calls 1

getFloatWithUnitMethod · 0.95

Tested by

no test coverage detected