我用的11版本,上面没有这个函数。
CATCurve有个IsClosed 函数,是这样的:
IsClosed
public CATBoolean IsClosed( ) const=0
Tests whether this CATCurve is periodic.
This method does not take into account the current limitations of the curve.
Returns:
The result of the test.
Legal values::
0
If the CATCurve is not periodic.
1
If the CATCurve is periodic.
我用过了还是不行,不知道这里的periodic是什么意思