[]
DsPdfJS API / ShapeRendering
Provides a hint to the implementation about what tradeoffs to make as it renders vector graphics elements and basic shapes.
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:
2
Indicates that the user agent shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision.
GeometricPrecision:
3
Indicates that the user agent shall emphasize geometric precision over speed and crisp edges.
OptimizeSpeed:
1
Indicates that the user agent shall emphasize rendering speed over geometric precision and crisp edges.