The stroke/fill colors only affect the -stroke
command. They don’t affect the -appendPath:
command. Paths don’t contain per-segment color information.
If you need a multi-colored line you’re going to need to stroke each color separately.
More Related Contents:
- Sort NSArray of custom objects based on sorting of another NSArray of strings
- Random Number Generator Objective-C iOS8 [duplicate]
- NSMutableArray addObject not working
- NSMutableArray addObject not affecting count?
- Cannot add items to an NSMutableArray ivar
- How can I reverse a NSArray in Objective-C?
- Sort NSArray of date strings or objects
- How to sort NSMutableArray using sortedArrayUsingDescriptors?
- How do I iterate over an NSArray?
- Best practice? – Array/Dictionary as a Core Data Entity Attribute [closed]
- NSMutableArray – force the array to hold specific object type only
- Using NSPredicate to filter an NSArray based on NSDictionary keys
- filtering NSArray into a new NSArray in Objective-C
- Is there a simple way to split a NSString into an array of characters?
- Convert NSArray to NSString in Objective-C
- Avoiding “NSArray was mutated while being enumerated”
- Compiler error “expected method not found” when using subscript on NSArray
- How to convert NSNumber to NSString
- 2D arrays using NSMutableArray
- What is the BOOL *stop argument for enumerateObjectsUsingBlock: used for?
- Getting a random object from NSArray without duplication
- Removing duplicates from NSMutableArray
- Serialize and Deserialize Objective-C objects into JSON
- How to Animate a UIBezierPath
- Plist Array to NSDictionary
- Compare two arrays with the same value but with a different order
- Flatten an NSArray
- Should I subclass the NSMutableArray class
- Using @[array, of, items] vs [NSArray arrayWithObjects:]
- iOS: store two NSMutableArray in a .plist file