# Class: VectorContext

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/render/VectorContext~VectorContext

    import VectorContext from 'ol/render/VectorContext.js';

Context for drawing geometries. A vector context is available on render events and does not need to be constructed directly.

#### new VectorContext()

render/VectorContext.js, line 11

### Subclasses

- CanvasImmediateRenderer