Example #1
0
 /**
  *      Starts a compound shape operation.
  *
  *      Any shape that is defined in terms of other shape operations must use this method, and use Endgroup() to end the definition.
  *
  *              public static FlatHexShapeInfo<TCell> MyCustomShape(this FlatHexOp<TCell> op)
  *              {
  *                      return
  *                              BeginGroup()
  *                                      .Shape1()
  *                                      .Union()
  *                                      .Shape2()
  *                              .EndGroup(op);
  *              }
  *
  *      @since 1.1
  */
 public FlatHexOp <TCell> BeginGroup()
 {
     return(FlatHexGrid <TCell> .BeginShape());
 }
Example #2
0
		public PointyTriShapeInfo<TCell> ThinRectangle(int width, int height)
		{
			return ShapeFromBase(FlatHexGrid<TCell>.BeginShape().ThinRectangle(width, height));
		}