| 89 | } |
| 90 | |
| 91 | static std::string borderToString(Scalar value, bool isPercent) { |
| 92 | auto strValue = fmt::format("{:.1f}", value); |
| 93 | if (isPercent) { |
| 94 | strValue += "%"; |
| 95 | } |
| 96 | return strValue; |
| 97 | } |
| 98 | |
| 99 | std::string BorderRadius::toString() const { |
| 100 | return fmt::format("[{}, {}, {}, {}]", |