Swift:SKShapeNode的观点比例:如何确定?

时间:2014-11-26 16:19:48

标签: ios swift sprite-kit skshapenode

enter image description here

在Swift中,我想计算红色SKShapeNode在(蓝色)SKScene层中的百分比。找不到确定形状区域的方法。有没有办法计算SKShapeNode的面积?

0 个答案:

没有答案