/** * 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 PointyHexShapeInfo<TCell> MyCustomShape(this PointyHexOp<TCell> op) * { * return * BeginGroup() * .Shape1() * .Union() * .Shape2() * .EndGroup(op); * } * * @since 1.1 */ public PointyHexOp <TCell> BeginGroup() { return(PointyHexGrid <TCell> .BeginShape()); }
public FlatTriShapeInfo <TCell> Rectangle(int width, int height) { return(ShapeFromBase(PointyHexGrid <TCell> .BeginShape().Rectangle(width, height))); }
public CairoShapeInfo <TCell> ThinRectangle(int width, int height) { return(ShapeFromBase(PointyHexGrid <TCell> .BeginShape().ThinRectangle(width, height))); }
public CairoShapeInfo <TCell> Parallelogram(int width, int height) { return(ShapeFromBase(PointyHexGrid <TCell> .BeginShape().Parallelogram(width, height))); }
public CairoShapeInfo <TCell> Hexagon(int side) { return(ShapeFromBase(PointyHexGrid <TCell> .BeginShape().Hexagon(side))); }