1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  PolygonView.h
//
//  Created by Tommy Bergeron on 10-03-02.
//  Copyright 2010 Egzakt. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "PolygonShape.h"

@interface PolygonView : UIView {
	IBOutlet PolygonShape *polygon;
}

- (void)drawRect:(CGRect)rect;

+ (NSArray *)pointsForPolygonInRect:(CGRect)rect numberOfSides:(int)numberOfSides;

@end