CGContextSetFillColorWithColor
CGContextSetFillColorWithColor is a function in the Core Graphics framework of Apple's operating systems, used for setting the color that will be used for filling shapes. It takes two arguments: a graphics context and a color object. The graphics context is a reference to the drawing environment, such as a window or an image buffer. The color object, of type CGColor, specifies the color to be used.
When this function is called, the specified color becomes the active fill color for the graphics context.