Sets the current stroke color in a context, using a CGColor.
SDKs
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
void CGContextSetStrokeColorWithColor(CGContext Ref c, CGColor Ref color);
Parameters
c
The graphics context to modify.
color
The new stroke color.