Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ fromString
Method
fromString
src/Core/Graphics/Color.cpp:264–270 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
262
}
263
264
void Color::fromString(std::string string)
265
{
266
if (!this->fromName(string, false))
267
{
268
this->fromHex(string);
269
}
270
}
271
272
bool Color::fromName(std::string name, bool strict)
273
{
Callers
2
Color
Method · 0.95
load
Method · 0.80
Calls
2
fromName
Method · 0.95
fromHex
Method · 0.95
Tested by
no test coverage detected