# `GSLayer applyCustomParameters:font:error:`

*Instance Method*

## Declaration

```swift
func applyCustomParameters(_ customParameters: [Any]!, font: GSFont!) throws
```

```objc
- (BOOL) applyCustomParameters:(NSArray *) customParameters font:(GSFont *) font error:(NSError **) error;
```

```python
applyCustomParameters_font_error_(customParameters: list, font: GSFont) -> tuple[bool, NSError]
```

