# `GSDrawEnvironment.scale`

*Instance Property*

The scale factor of the rendered dimensions in relation to the source dimensions.

## Declaration

```swift
var scale: CGFloat { get set }
```

```objc
@property (direct, assign) CGFloat scale;
```

```python
scale() -> float
setScale_(scale: float)
```

## Discussion

For example, drawing a 1000 by 1000 font unit layer to a 500 by 500 point bitmap context yields a scale of 0.5.

