MCPcopy 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

ColorMethod · 0.95
loadMethod · 0.80

Calls 2

fromNameMethod · 0.95
fromHexMethod · 0.95

Tested by

no test coverage detected