[]
        
(Showing Draft Content)

ShapeRendering

DsPdfJS API v9.1.0


DsPdfJS API / ShapeRendering

Enumeration: ShapeRendering

Provides a hint to the implementation about what tradeoffs to make as it renders vector graphics elements and basic shapes.

Enumeration Members

Auto

Auto: 0

Indicates that the user agent shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edges.


CrispEdges

CrispEdges: 2

Indicates that the user agent shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision.


GeometricPrecision

GeometricPrecision: 3

Indicates that the user agent shall emphasize geometric precision over speed and crisp edges.


OptimizeSpeed

OptimizeSpeed: 1

Indicates that the user agent shall emphasize rendering speed over geometric precision and crisp edges.