Offset() public method

public Offset ( Point point ) : void
point Point
return void
Beispiel #1
0
 public void Invalidate (Rect area)
 {
     area.Offset (Allocation.X, Allocation.Y);
     OnInvalidate (area);
 }
Beispiel #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);
     }
 }