如何把CGPoint放入数组中

原文地址:如何把CGPoint放入数组中
http://www.aisidachina.com/forum/viewthread.php?tid=26
把CGPoint放入数组的过程是这样的:
NSArray *array=[NSArray arrayWithObjects:NSStringFromCGPoint(0.0f,0.0f),NSStringFromCGPoint(0.0f,0.0f),nil];

从数组中取值的过程是这样的:
CGPoint point=CGPointFromNSString([array objectAtIndex:2]);

你可能感兴趣的:(java,PHP)