예제 #1
0
파일: Scriptable.cs 프로젝트: stuart2w/SAW
 public bool MoveWithin(List <Shape> shapes, PointF target, GrabMovement move, Transaction transaction)
 {
     if (!(Element is IShapeContainer))
     {
         return(false);
     }
     return(ElementAsContainer.MoveWithin(shapes, target, move, transaction));
 }
예제 #2
0
파일: Scriptable.cs 프로젝트: stuart2w/SAW
 public IEnumerator <Shape> GetEnumerator()
 {
     if (!(Element is IShapeContainer))
     {
         return(EmptyList.GetEnumerator());
     }
     return(ElementAsContainer.GetEnumerator());
 }
예제 #3
0
파일: Scriptable.cs 프로젝트: stuart2w/SAW
 public void FinishedModifyingContents(Transaction transaction, GrabMovement move = null)
 {
     ElementAsContainer?.FinishedModifyingContents(transaction, move);
 }