|
DrawKit
Vector and illustration framework for Mac OS X
|
DKHandle is a base class for all handles, which are the knobs attached to shapes for interacting with them. More...

Instance Methods | |
| (NSColor *) | - colour |
| (void) | - drawAtPoint: |
| (void) | - drawAtPoint:angle: |
| (BOOL) | - hitTestPoint:inHandleAtPoint: |
| (id) | - initWithSize: |
| (id) | - initWithSize:colour: |
| (void) | - setColour: |
| (NSSize) | - size |
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: |
Class Methods | |
| (NSColor *) | + fillColour |
| (DKHandle *) | + handleForType:size:colour: |
| (NSBezierPath *) | + pathWithSize: |
| (CGFloat) | + scaleFactor |
| (void) | + setHandleClass:forType: |
| (NSColor *) | + strokeColour |
| (CGFloat) | + strokeWidth |
| (DKKnobType) | + type |
Class Methods inherited from NSObject | |
| (id) | + alloc |
| (Class) | + class |
| (void) | + initialize |
| (void) | + load |
| (id) | + new |
Class Methods inherited from <NSKeyValueBindingCreation> | |
| (void) | + exposeBinding: |
DKHandle is a base class for all handles, which are the knobs attached to shapes for interacting with them.
DKHandle is a base class for all handles, which are the knobs attached to shapes for interacting with them. This is an evolution of DKKnob which is still used as a central helper class for dispatching drawing to handles as needed.
DKHandle is subclassed for each handle type, making it easier to customise and also add caching.
| - (NSColor*) colour |
| - (void) drawAtPoint: | (NSPoint) | point |
| - (void) drawAtPoint: | (NSPoint) | point | |
| angle: | (CGFloat) | radians | |
| + (NSColor*) fillColour |
| - (BOOL) hitTestPoint: | (NSPoint) | point | |
| inHandleAtPoint: | (NSPoint) | hp | |
| - (id) initWithSize: | (NSSize) | size |
| - (id) initWithSize: | (NSSize) | size | |
| colour: | (NSColor *) | colour | |
| + (NSBezierPath*) pathWithSize: | (NSSize) | size |
| + (CGFloat) scaleFactor |
| - (void) setColour: | (NSColor *) | colour |
| + (void) setHandleClass: | (Class) | hClass | |
| forType: | (DKKnobType) | type | |
| - (NSSize) size |
| + (NSColor*) strokeColour |
| + (CGFloat) strokeWidth |
| + (DKKnobType) type |
1.8.9.1