# `GSDrawEnvironment.factor`

*Instance Property*

The render unit length.

## Declaration

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

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

```python
factor() -> float
setFactor_(factor: float)
```

## Discussion

For example, a 2x display uses a pixel length of 2. A 200 by 200 point bitmap context then produces a 400 by 400 pixel image.

