在这个例子中,您会以中心为原点旋转一个正方形,但不填充这个正方形。
In this example, you rotate a square on its center, but do not fill the square.
但是假设我们要在图1所示的树上运行这段代码,其中树的分支都用圆形表示,值在中心,叶子用正方形表示。
But suppose we were to run this code on the tree shown in Figure 1, where the branches are represented as circles, with their values in the center, and the leaves are represented as squares.
这个正方形会以中心为原点旋转16次,其结果如图1的单元格f所示(通过清单6所示的简单应用程序)。
The square is rotated 16 times around the center, with the result shown in Figure 1, cell F (with the simple application shown in Listing 6).
应用推荐