예제 #1
0
 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);
 }
예제 #2
0
 public ShapePath.FlagsAndCommand command(int index)
 {
     return(vertices.command(index));
 }