Absolute Values
Introduction
Code Example - Drawing a Sprite at the Absolute Position
var absoluteLeft = container.AbsoluteLeft;
var absoluteTop = container.AbsoluteTop;
_spriteBatch.Begin();
_spriteBatch.Draw(texture, new Vector2(absoluteLeft, absoluteTop), Color.White);
_spriteBatch.End();Last updated
Was this helpful?

