//
//  CRGraphicsObjectAnchor.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 04/04/10.
//  Copyright 2009 Corner-A. All rights reserved.
//

#import "CRGraphicsDraggableView.h"

///////////////////////////////////////////////////////////////////////////////////////////////////
// CRGraphicsObjectAnchor
///////////////////////////////////////////////////////////////////////////////////////////////////
@interface CRGraphicsObjectAnchor : CRGraphicsDraggableView
{
	CRAnchor anchor;
}

@property (nonatomic, readonly) CRAnchor anchor;

- (id)initWithView:(NSView *)aView anchor:(CRAnchor)anAnchor;
+ (id)anchorWithView:(NSView *)aView anchor:(CRAnchor)anAnchor;

@end