# `GSShape scaleAttributes:`

*Instance Method*

Scales the stroke width and explicit stroke height by a factor.

## Declaration

```swift
func scaleAttributes(_ scale: CGFloat)
```

```objc
- (void) scaleAttributes:(CGFloat) scale;
```

```python
scaleAttributes_(scale: float)
```

## Parameters

- `scale` — The factor by which to scale the attributes.

## Discussion

Shape geometry is not changed.

