A
A
akass2016-04-17 22:16:09
.NET
akass, 2016-04-17 22:16:09

Is it possible to bind rendering to your object?

There is a Vertex class that stores the X and Y coordinates, I give it to the Painter class and it knows that if the Vertex class comes, then it is necessary to draw a circle on the canvas by coordinates. Then I put a "dot" on the canvas and if it falls into the circle, I want to connect it to the Vertex on which it is drawn. How to do it correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akass, 2016-04-18
@akass

I connected it by writing my Vertex in Tag

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question