Replaces the path in the graphics context with the stroked version of the path.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
A stroked path is created using the parameters of the current graphics context. The new path is created so that filling it draws the same pixels as stroking the original path.You can use this path in the same way you use the path of any context. For example, you can clip to the stroked version of a path by calling this function followed by a call to the function
Paints the area within the current path, using the nonzero winding number rule.
Paints the area contained within the provided rectangle, using the fill color in the current graphics state.
Paints the areas contained within the provided rectangles, using the fill color in the current graphics state.
Paints the area of the ellipse that fits inside the provided rectangle, using the fill color in the current graphics state.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software