I'm 2 weeks into learning about WPF. I have three questions that would help me streamline my research:
1. If I want to create many random shapes with random colors (which I assume must be done with procedural code, not XAML), what is the best class to use? I have been playing around with StreamGeometry, creating shapes by drawing lines, but I can't figure out how to fill the shapes each with different colors.
2. If I want to get access to webcam video and read the rgb values of the pixels, is there a WPF library for this, or should I use something like OpenCV?
3. How do you set the position of a Rectangle in the Rectangle class?
Many thanks for any questions answered!