---
title: "applyFillProperties(to:atZoomScale:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkoverlaypathrenderer/applyfillproperties(to:atzoomscale:)"
---

# applyFillProperties(to:atZoomScale:)

Applies the receiver’s fill-related drawing properties to the specified graphics context.

## Declaration

```swift
func applyFillProperties(to context: CGContext, atZoomScale zoomScale: MKZoomScale)
```

## Parameters

- `context`: The graphics context used to draw the view’s contents.
- `zoomScale`: The current zoom scale used for drawing.

## Discussion

Discussion This is a convenience method for applying all of the drawing properties used when filling a path. This method applies the current fill color to the specified graphics context.

## See Also

### Drawing the path

- [applyStrokeProperties(to:atZoomScale:)](mapkit/mkoverlaypathrenderer/applystrokeproperties(to:atzoomscale:).md)
- [strokePath(_:in:)](mapkit/mkoverlaypathrenderer/strokepath(_:in:).md)
- [fillPath(_:in:)](mapkit/mkoverlaypathrenderer/fillpath(_:in:).md)
- [shouldRasterize](mapkit/mkoverlaypathrenderer/shouldrasterize.md)
