//
//  GSSVGPen.h
//  GlyphsCore
//
//  Created by Georg Seifert on 07/11/2016.
//  Copyright © 2016 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSBasePen.h>
#if TARGET_OS_IOS
#import <KissXML/KissXML.h>
#endif

@class GSShadow;

@interface GSSVGPen : GSBasePen

@property (nonatomic, readonly) NSXMLDocument *svgDoc;

@property (nonatomic, strong) NSColor *fillColor;
@property (nonatomic, strong) NSString *fillColorString;
@property (nonatomic, strong) NSColor *strokeColor;
@property (nonatomic, strong) NSString *strokeColorString;
@property (nonatomic) CGFloat lineWidth;
@property (nonatomic) GSLineCapStyle lineCapStyle;
@property (nonatomic) GSLineJoinStyle lineJoinStyle;
#ifndef GLYPHS_LITE
@property (nonatomic, strong) GSShadow *shadow;
@property (nonatomic, strong) GSGradient *gradient;
#endif
@property (nonatomic) NSRect bounds; // to compute the correct gradient

@property (nonatomic) CGFloat height;

@property (nonatomic) int precision;

@property (nonatomic) BOOL singlePaths;

@end
