private updateObject ( |
||
window | ||
return | void |
private void updateObject(Rectangle window)
{
trackingObject.Image = template;
trackingObject.Rectangle = window;
trackingObject.Center = new IntPoint(
(int)(window.X + window.Width / 2f),
(int)(window.Y + window.Height / 2f));
}