示例#1
0
        public TShapeInfo MakeShapeStorageInfo <TPoint>(IntRect storageRect, Func <TPoint, bool> isInside)
        {
            var shapeInfo = (TShapeInfo)(object)new ShapeStorageInfo <TPoint>(storageRect, isInside);

            return(MakeShapeStorageInfo(shapeInfo));
        }
示例#2
0
 public ShapeStorageInfo(IntRect storageRect, Func <TPoint, bool> contains)
 {
     this.storageRect = storageRect;
     this.contains    = contains;
 }
示例#3
0
		public IntRect Difference(IntRect otherRect)
		{
			// Not tight
			return this;
		}