mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibGfx: Add String variants of Color::to_string*()
This commit is contained in:
parent
6aff55d655
commit
6c9fffc4c1
2 changed files with 15 additions and 2 deletions
|
@ -356,6 +356,9 @@ public:
|
|||
return m_value == other.m_value;
|
||||
}
|
||||
|
||||
String to_string() const;
|
||||
String to_string_without_alpha() const;
|
||||
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
DeprecatedString to_deprecated_string_without_alpha() const;
|
||||
static Optional<Color> from_string(StringView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue