MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / copyAttributes

Method copyAttributes

ij/src/main/java/ij/gui/Arrow.java:414–424  ·  view source on GitHub ↗
(Roi roi2)

Source from the content-addressed store, hash-verified

412 }
413
414 @Override
415 public void copyAttributes(Roi roi2) {
416 super.copyAttributes(roi2);
417 if (roi2 instanceof Arrow) {
418 Arrow a2 = (Arrow)roi2;
419 this.style = a2.getStyle();
420 this.headSize = a2.getHeadSize();
421 this.doubleHeaded = a2.getDoubleHeaded();
422 this.outline = a2.getOutline();
423 }
424 }
425
426}

Callers

nothing calls this directly

Calls 4

getStyleMethod · 0.95
getHeadSizeMethod · 0.95
getDoubleHeadedMethod · 0.95
getOutlineMethod · 0.95

Tested by

no test coverage detected