Questions about the visual class & how to use it RRS feed

  • Question

  • Hello

     I need to use the visual class in a WPF program, where I need 2 rectangles on top of points, moving dynamically with the points (position of the point changes, so does the rectangle on top of it) filled with textures/images. 

    I took a look at the documentation but I am  having some problems with what i extrapolated.

    Could anyone explain/post some bare-bones snippets of code that would declare a visual "rectangle" fill it with an image/texture, set its location to that of a point, and check for intersection with another "rectangle"?

    Thanks in advance!

    Wednesday, July 3, 2013 1:16 AM


All replies