MCPcopy Create free account
hub / github.com/PCGen/pcgen / setPortraitPath

Method setPortraitPath

code/src/java/pcgen/core/PlayerCharacter.java:1737–1740  ·  view source on GitHub ↗

Selector Sets the path to the portrait of the character. @param newPortraitPath the path to the portrait file

(final String newPortraitPath)

Source from the content-addressed store, hash-verified

1735 * @param newPortraitPath the path to the portrait file
1736 */
1737 public void setPortraitPath(final String newPortraitPath)
1738 {
1739 setStringFor(PCStringKey.PORTRAIT_PATH, newPortraitPath);
1740 }
1741
1742 /**
1743 * Set a new outline for the portrait thumbnail.

Callers 6

testThumbMethod · 0.95
testThumbScalingMethod · 0.95
testThumbInvalidMethod · 0.95
testNonEncodedURIMethod · 0.95
setPortraitMethod · 0.80
parsePortraitLineMethod · 0.80

Calls 1

setStringForMethod · 0.95

Tested by 4

testThumbMethod · 0.76
testThumbScalingMethod · 0.76
testThumbInvalidMethod · 0.76
testNonEncodedURIMethod · 0.76