# `GSShape.filled`

*Instance Property*

Whether the path remains filled when it has a stroke.

## Declaration

```swift
var isFilled: Bool { get set }
```

```objc
@property (nonatomic, assign, getter=isFilled) BOOL filled;
```

```python
isFilled() -> bool
setFilled_(filled: bool)
```

## Discussion

This setting has no effect when no stroke width is set.

> **See Also**
> [`GSShapeKey.GSShapeKeyFill`](/Core/GlyphsCore/GSShapeKey/GSShapeKeyFill)

## See Also

### Stroke Style

- [`GSShape.strokeWidth`](/Core/GlyphsCore/GSShape/strokeWidth) — The horizontal size expression used to expand the path into a stroke.
- [`GSShape.strokeHeight`](/Core/GlyphsCore/GSShape/strokeHeight) — The vertical size expression used to expand the path into a stroke.
- [`GSShape.strokePosition`](/Core/GlyphsCore/GSShape/strokePosition) — The stroke position from `-1` on the left to `1` on the right of the path direction.
- [`GSLineCapStyle`](/Core/GlyphsCore/GSLineCapStyle) — The construction used at an open stroke endpoint.
- [`GSShape.lineCapStart`](/Core/GlyphsCore/GSShape/lineCapStart) — The cap at the start of an open path.
- [`GSShape.lineCapEnd`](/Core/GlyphsCore/GSShape/lineCapEnd) — The cap at the end of an open path.
- [`GSLineJoinStyle`](/Core/GlyphsCore/GSLineJoinStyle) — The construction used to connect consecutive stroke segments.
- [`GSShape.lineJoin`](/Core/GlyphsCore/GSShape/lineJoin) — The construction used to connect consecutive stroke segments.
- [`GSShape getStrokeSettingsWidth:height:pos:capStart:capEnd:join:fill:maskType:`](/Core/GlyphsCore/GSShape/getStrokeSettingsWidth:height:pos:capStart:capEnd:join:fill:maskType:) — Reads the shape’s stroke style into optional output parameters.

