#import "SHPolygon.h" SHPolygon *polygon = [SHPolygon polygonWithRadius:100.0f numEdges:5 color:0xffffff]; [self addChild:polygon]; SHPolygonImage *polygonImage = [SHPolygonImage polygonImageWithContentsOfFile:@"image.png" radius:100.0f numEdges:360]; [self addChild:polygonImage];