[]
        
(Showing Draft Content)

SvgContextProperties

DsPdfJS API v9.1.0


DsPdfJS API / SvgContextProperties

Type Alias: SvgContextProperties

SvgContextProperties = object

Provides settings for creating a 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

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

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