DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | Class Methods | List of all members
DKStrokeDash Class Reference
Inheritance diagram for DKStrokeDash:
Inheritance graph
[legend]

Instance Methods

(void) - applyToPath:
 
(void) - applyToPath:withPhase:
 
(NSInteger- count
 
(NSImage *) - dashSwatchImageWithSize:strokeWidth:
 
(void) - getDashPattern:count:
 
(id- initWithPattern:count:
 
(BOOL- isBeingEdited
 
(CGFloat- length
 
(CGFloat- lengthAtIndex:
 
(CGFloat- phase
 
(BOOL- scalesToLineWidth
 
(void) - setDashPattern:count:
 
(void) - setIsBeingEdited:
 
(void) - setPhase:
 
(void) - setPhaseWithoutNotifying:
 
(void) - setScalesToLineWidth:
 
(NSImage *) - standardDashSwatchImage
 
- Instance Methods inherited from NSObject
(NSString *) - address
 
(DKStyleRegistry *) - applicationWillReturnStyleRegistry
 
(BOOL- canBeUsedWithSelectionTool
 
(id- categoryManager:shouldReplaceObject:withObject:
 
(Class- classForCoder
 
(NSColor *) - colorValue
 
(NSColor *) - colourValue
 
(id- copy
 
(void) - dealloc
 
(id- deepCopy
 
(NSDictionary *) - dimensionValuesForArrowStroke:
 
(CGFloat- drawing:convertDistanceToExternalCoordinates:
 
(NSPoint) - drawing:convertLocationToExternalCoordinates:
 
(void) - drawing:didDrawRect:inView:
 
(void) - drawing:willDrawRect:inView:
 
(NSString *) - drawing:willReturnAbbreviationForUnit:
 
(NSString *) - drawing:willReturnFormattedCoordinateForDistance:
 
(CGFloat- drawingWillReturnUnitToPointsConversonFactor:
 
(void) - finalize
 
(NSString *) - hexString
 
(void) - hotspot:didEndTrackingWithEvent:inView:
 
(void) - hotspot:isTrackingWithEvent:inView:
 
(void) - hotspot:willBeginTrackingWithEvent:inView:
 
(NSData *) - imageData
 
(NSImage *) - imageResourceNamed:
 
(id- init
 
(id- initWithExpression:
 
(id- instantiateObjectWithShortName:parameters:
 
(BOOL- isLiteralValue
 
(void) - layoutManager:willPlaceGlyphAtIndex:atLocation:pathAngle:yOffset:
 
(void) - menuItem:wasAddedForObject:inCategory:
 
(BOOL- moveObjectTo:position:slope:userInfo:
 
(id- mutableCopy
 
(void) - oneShotComplete
 
(void) - oneShotHasReached:
 
(void) - oneShotWillBegin
 
(void) - path:elementIndex:type:points:subPathIndex:subPathClosed:contextInfo:
 
(id- placeLinkFromPoint:toPoint:onPath:linkNumber:userInfo:
 
(id- placeObjectAtPoint:onPath:position:slope:userInfo:
 
(NSPoint) - point
 
(NSPoint) - pointForTextLayout
 
(DKStyle *) - registry:shouldReplaceStyle:withStyle:
 
(NSBezierPath *) - renderer:willRenderPath:
 
(void) - routeFinder:progressHasReached:
 
(void) - setValue:forNumericParameter:
 
(NSString *) - stringValue
 
(CGFloat- taperFactorAtDistance:onPath:ofLength:
 
(void) - toolDidPerformUndoableAction:
 
(void) - toolWillPerformUndoableAction:
 
(NSURL *) - url
 
- Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 
- Instance Methods inherited from <NSKeyValueBindingCreation>
(void) - bind:toObject:withKeyPath:options:
 
(NSArray *) - exposedBindings
 
(NSDictionary *) - infoForBinding:
 
(NSArray *) - optionDescriptionsForBinding:
 
(void) - unbind:
 
(Class- valueClassForBinding:
 
- Instance Methods inherited from <NSCoding>
(void) - encodeWithCoder:
 
(id- initWithCoder:
 
- Instance Methods inherited from <NSCopying>
(id- copyWithZone:
 

Class Methods

(DKStrokeDash *) + dashWithName:
 
(DKStrokeDash *) + dashWithPattern:count:
 
(DKStrokeDash *) + defaultDash
 
(DKStrokeDash *) + equallySpacedDashToFitSize:dashLength:
 
(void) + loadDefaults
 
(void) + registerDash:withName:
 
(NSArray *) + registeredDashes
 
(void) + saveDefaults
 
- Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Class Methods inherited from <NSKeyValueBindingCreation>
(void) + exposeBinding:
 

Detailed Description

Author
Contributions from the community; see CONTRIBUTORS.md
Date
2005-2015

Method Documentation

- (void) applyToPath: (NSBezierPath *)  path
- (void) applyToPath: (NSBezierPath *)  path
withPhase: (CGFloat phase 
- (NSInteger) count
- (NSImage*) dashSwatchImageWithSize: (NSSize)  size
strokeWidth: (CGFloat width 
+ (DKStrokeDash*) dashWithName: (NSString *)  name
+ (DKStrokeDash*) dashWithPattern: (CGFloat[])  dashes
count: (NSInteger count 
+ (DKStrokeDash*) defaultDash
+ (DKStrokeDash*) equallySpacedDashToFitSize: (NSSize)  aSize
dashLength: (CGFloat len 
- (void) getDashPattern: (CGFloat[])  dashes
count: (NSInteger *)  count 
- (id) initWithPattern: (CGFloat[])  dashes
count: (NSInteger count 
- (BOOL) isBeingEdited
- (CGFloat) length
- (CGFloat) lengthAtIndex: (NSUInteger indx
+ (void) loadDefaults

Provided by category DKStrokeDash(Deprecated).

- (CGFloat) phase
+ (void) registerDash: (DKStrokeDash *)  dash
withName: (NSString *)  name 
+ (NSArray*) registeredDashes
+ (void) saveDefaults

Provided by category DKStrokeDash(Deprecated).

- (BOOL) scalesToLineWidth
- (void) setDashPattern: (CGFloat[])  dashes
count: (NSInteger count 
- (void) setIsBeingEdited: (BOOL edit
- (void) setPhase: (CGFloat ph
- (void) setPhaseWithoutNotifying: (CGFloat ph
- (void) setScalesToLineWidth: (BOOL stlw
- (NSImage*) standardDashSwatchImage