Files
IJSVG/source/IJSVGPath.h
T

33 lines
679 B
Objective-C

//
// IJSVGPath.h
// IconJar
//
// Created by Curtis Hard on 30/08/2014.
// Copyright (c) 2014 Curtis Hard. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IJSVGBezierPathAdditions.h"
#import "IJSVGNode.h"
@class IJSVGGroup;
@interface IJSVGPath : IJSVGNode {
NSBezierPath * path;
NSBezierPath * subpath;
CGPoint lastControlPoint;
}
@property ( nonatomic, readonly ) NSBezierPath * path;
@property ( nonatomic, readonly ) NSBezierPath * subpath;
@property ( nonatomic, assign ) CGPoint lastControlPoint;
- (NSBezierPath *)currentSubpath;
- (void)close;
- (NSPoint)currentPoint;
- (void)overwritePath:(NSBezierPath *)aPath;
@end