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