//
//  GSLinearGradient.h
//  GlyphsCore
//
//  Created by Florian Pircher on 17.03.23.
//  Copyright © 2023 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSGradient.h>

NS_ASSUME_NONNULL_BEGIN

@interface GSLinearGradient : GSGradient

/// The start point of the gradient.
@property (nonatomic) NSPoint start;
/// The end point of the gradient.
@property (nonatomic) NSPoint end;

/// Creates a linear gradient with the given start and end points.
- (instancetype)initWithStart:(NSPoint)start end:(NSPoint)end colorLine:(GSColorLine *)colorLine extendMode:(GSGradientExtendMode)extendMode;

@end

NS_ASSUME_NONNULL_END
