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)); }
public IEnumerator <Shape> GetEnumerator() { if (!(Element is IShapeContainer)) { return(EmptyList.GetEnumerator()); } return(ElementAsContainer.GetEnumerator()); }
public void FinishedModifyingContents(Transaction transaction, GrabMovement move = null) { ElementAsContainer?.FinishedModifyingContents(transaction, move); }