I am trying to draw shapes in a window in real time. The shapes are similar to a bunch, rectangle, circle, half or circle, and the āZā on the screen using yellow. Size and shape may not match the original image. But the program knows all the original forms. Because they are predetermined. I want to know how I can determine the correct shape. as an example,

Is there any way to do this? can a template be used for this? Please help me with this.
source
share