//
//  CRMaterialGradient.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 4/9/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

#import "CRMaterialGenerator.h"

extern NSString* const CRMaterialGradientGradientKey;
extern NSString* const CRMaterialGradientAngleKey;

//////////////////////////////////////////////////////////////////////
// Linear gradient material
//////////////////////////////////////////////////////////////////////
@interface CRMaterialGradient : CRMaterialGenerator
{
	NSBitmapImageRep* buffer;
}

@property (nonatomic, copy)	  NSGradient*	gradient;
@property (nonatomic, assign) CGFloat		angle;

@end