OpenTK.Graphics.Rectangle.Offset C# (CSharp) Méthode

Offset() public méthode

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

Same methods

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