Advertisement
cepxuozab

TestColor1

Jul 4th, 2023
886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     }
  18.  
  19. <circle cx="0" cy="0" r="1" fill="rgb(1,2,3)"/>
  20. endl<circle cx="0" cy="0" r="1" fill="rgb(1,2,3,0.5)"/>
  21. endl<circle cx="0" cy="0" r="1" fill="black"/>
  22. endl<circle cx="0" cy="0" r="1" fill="be"/>
  23. endl<circle cx="0" cy="0" r="1" fill="none"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement