MCPcopy Create free account
hub / github.com/H-uru/Plasma / GetColorLoc

Method GetColorLoc

Sources/Plasma/FeatureLib/pfPython/pyImage.cpp:115–161  ·  view source on GitHub ↗

GetColorLoc takes a color to look for and returns the x and y coord for its location (x and y from 0 to 1), if the color exists in more than one location, then the location with the lowest x and y will be returned. if the color is not found, it trys to return the closest match

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PYTHON_METHOD_DEFINITIONFunction · 0.80

Calls 10

ObjectIsLoadedMethod · 0.80
GetAddr32Method · 0.80
ConvertFromFunction · 0.70
hsPoint3Class · 0.70
GetHeightMethod · 0.45
GetWidthMethod · 0.45
SetCurrLevelMethod · 0.45
getRedMethod · 0.45
getGreenMethod · 0.45
getBlueMethod · 0.45

Tested by

no test coverage detected