MCPcopy Create free account
hub / github.com/dhale/jtk / makeIndexColorModel

Method makeIndexColorModel

core/src/main/java/edu/mines/jtk/awt/ColorMap.java:680–688  ·  view source on GitHub ↗

Returns an index color model for the specified array of 256 colors. @param c array[256] of colors. @return the index color model.

(Color[] c)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

colorMapChangedMethod · 0.95
getGrayMethod · 0.95
getJetMethod · 0.95
getGmtJetMethod · 0.95
getHueMethod · 0.95
getRedWhiteBlueMethod · 0.95
getBlueWhiteRedMethod · 0.95
getGrayYellowRedMethod · 0.95
makeSolidColorsMethod · 0.95
prettyColorsFunction · 0.80

Calls 5

hasAlphaMethod · 0.95
getRedsMethod · 0.95
getGreensMethod · 0.95
getBluesMethod · 0.95
getAlphasMethod · 0.95

Tested by

no test coverage detected