DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias SvgContextProperties

    Provides settings for creating a DrawingContext for SVG.

    type SvgContextProperties = {
        drawTextAsPath?: boolean;
        embedFonts?: boolean;
        imageRendering?: ImageRendering;
        preciseCharPositions?: boolean;
        shapeRendering?: ShapeRendering;
    }
    Index

    Properties

    drawTextAsPath?: boolean

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

    embedFonts?: boolean

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

    imageRendering?: ImageRendering

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

    preciseCharPositions?: boolean

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

    shapeRendering?: ShapeRendering

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