OpenTK.Graphics.Rectangle.Offset C# (CSharp) Метод

Offset() публичный Метод

Offset Method
Moves the Rectangle a specified distance.
public Offset ( Point pos ) : void
pos Point
Результат void
        public void Offset(Point pos)
        {
            x += pos.X;
            y += pos.Y;
        }

Same methods

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