public int arrange_orientations(int start, ShapePath.FlagsAndCommand orientation) { if (orientation != ShapePath.FlagsAndCommand.FlagNone) { while (start < vertices.total_vertices()) { start = arrange_polygon_orientation(start, orientation); if (ShapePath.is_stop(vertices.command(start))) { ++start; break; } } } return(start); }
public ShapePath.FlagsAndCommand command(int index) { return(vertices.command(index)); }