Offset() 공개 메소드

public Offset ( Point point ) : void
point Point
리턴 void
예제 #1
0
 public void Invalidate (Rect area)
 {
     area.Offset (Allocation.X, Allocation.Y);
     OnInvalidate (area);
 }
예제 #2
0
 protected void InvalidateRender (Rect area)
 {
     if (Parent == null) {
         OnInvalidate (area);
     } else {
         var alloc = Parent.ContentAllocation;
         area.Offset (alloc.X, alloc.Y);
         Parent.Invalidate (area);
     }
 }