Advertisement
cepxuozab

TestColor

Jul 4th, 2023
858
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. void ColorTest() {
  2.         {
  3.             Circle().SetFillColor(Rgb(1, 2, 3)).Render(cout);
  4.             cout << "endl";
  5.         } {
  6.             Circle().SetFillColor(Rgba(1, 2, 3, 0.5)).Render(cout);
  7.             cout << "endl";
  8.         } {
  9.             Circle().SetFillColor("black").Render(cout);
  10.             cout << "endl";
  11.         } {
  12.             Circle().SetFillColor("be").Render(cout);
  13.             cout << "endl";
  14.         } {
  15.             Circle().SetFillColor(NoneColor).Render(cout);
  16.         }
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement