OpenTK.Graphics.Rectangle.Offset C# (CSharp) Method

Offset() public method

Offset Method
Moves the Rectangle a specified distance.
public Offset ( Point pos ) : void
pos Point
return void
        public void Offset(Point pos)
        {
            x += pos.X;
            y += pos.Y;
        }

Same methods

Rectangle::Offset ( int x, int y ) : void