MCPcopy Create free account
hub / github.com/Nurtak/ObjectGraphVisualization / applyColor

Method applyColor

src/ch/hsr/ogv/view/Arrow.java:416–421  ·  view source on GitHub ↗
(Box box, Color color)

Source from the content-addressed store, hash-verified

414 }
415
416 protected void applyColor(Box box, Color color) {
417 PhongMaterial material = new PhongMaterial();
418 material.setDiffuseColor(color);
419 material.setSpecularColor(color.brighter());
420 box.setMaterial(material);
421 }
422
423 public Color getColor() {
424 return this.color;

Callers 6

setColorMethod · 0.95
setSelectedMethod · 0.95
setColorMethod · 0.80
setSelectedMethod · 0.80
setColorMethod · 0.80
setSelectedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected