# `GSComponent bezierPathIgnorePlaceholder:seen:hasPaths:`

*Instance Method*

Collects the transformed closed paths while traversing a component hierarchy.

## Declaration

```swift
func bezierPathIgnorePlaceholder(_ ignorePlaceholder: Bool, seen seenComponents: NSMutableSet, hasPaths: UnsafeMutablePointer<ObjCBool>) -> NSBezierPath?
```

```objc
- (NSBezierPath *) bezierPathIgnorePlaceholder:(BOOL) ignorePlaceholder seen:(NSMutableSet *) seenComponents hasPaths:(BOOL *) hasPaths;
```

```python
bezierPathIgnorePlaceholder_seen_hasPaths_(ignorePlaceholder: bool, seenComponents: set, hasPaths: bool) -> NSBezierPath
```

## Parameters

- `ignorePlaceholder` — Whether to omit placeholder representations.
- `seenComponents` — The base-glyph names currently being traversed.
- `hasPaths` — On return, whether the resolved hierarchy contains any paths, including open paths.

## Return Value

The collected path, or `nil` when no representation can be resolved.

## Discussion

Use [`GSComponent bezierPath`](/Core/GlyphsCore/GSComponent/bezierPath) or [`GSComponent bezierPathIgnorePlaceholder:`](/Core/GlyphsCore/GSComponent/bezierPathIgnorePlaceholder:) unless sharing traversal state across components.

## See Also

### Representations

- [`GSComponent bezierPath`](/Core/GlyphsCore/GSComponent/bezierPath) — The transformed closed paths of the component layer and its nested components.
- [`GSComponent bezierPathIgnorePlaceholder:`](/Core/GlyphsCore/GSComponent/bezierPathIgnorePlaceholder:) — The transformed closed paths of the component layer and its nested components.
- [`GSComponent openBezierPath`](/Core/GlyphsCore/GSComponent/openBezierPath) — The transformed open paths of the component layer and its nested components.
- [`GSComponent openBezierPath:`](/Core/GlyphsCore/GSComponent/openBezierPath:) — Collects the transformed open paths while traversing a component hierarchy.

