//
//  GSShadow.h
//  GlyphsCore
//
//  Created by Georg Seifert on 23.01.20.
//  Copyright © 2020 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSElement.h>

NS_ASSUME_NONNULL_BEGIN

@class GSDrawEnvironment;

@interface GSShadow : GSElement {

#pragma GSAutoCodeStart ivars

	NSColor *_color;
	NSString *_blur;
	NSString *_offsetX;
	NSString *_offsetY;

#pragma GSAutoCodeEnd ivars
}

- (void)setBlurFastSave:(NSString *)blur;

- (void)setOffsetXFastSave:(NSString *)offsetX;

- (void)setOffsetYFastSave:(NSString *)offsetY;

- (NSShadow *)NSShadowInEnvironment:(GSDrawEnvironment *)environment;

#pragma GSAutoCodeStart methods

/// The color.
@property (nonatomic, strong, nullable) NSColor *color;

/// The blur.
@property (nonatomic, strong, nullable) NSString *blur;

/// The offsetX.
@property (nonatomic, strong, nullable) NSString *offsetX;

/// The offsetY.
@property (nonatomic, strong, nullable) NSString *offsetY;

#pragma GSAutoCodeEnd methods
@end

NS_ASSUME_NONNULL_END
