# SvgContextProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / SvgContextProperties

# Type Alias: SvgContextProperties

> **SvgContextProperties** = `object`

Provides settings for creating a [DrawingContext](../classes/DrawingContext) for SVG.

## Properties

### drawTextAsPath?

> `optional` **drawTextAsPath**: `boolean`

Indicates if text is rendered using the graphic primitives instead of the specialized text drawing services.

***

### embedFonts?

> `optional` **embedFonts**: `boolean`

Indicates whether the fonts used in 'text' elements should be embedded.

***

### imageRendering?

> `optional` **imageRendering**: [`ImageRendering`](../enumerations/ImageRendering)

A hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing.

***

### preciseCharPositions?

> `optional` **preciseCharPositions**: `boolean`

Indicates whether the positions are set for each individual character within the 'text' element.

***

### shapeRendering?

> `optional` **shapeRendering**: [`ShapeRendering`](../enumerations/ShapeRendering)

A hint to the implementation about what tradeoffs to make as it renders vector graphics elements.
