@@ -12,7 +12,8 @@ export function Style(mark, {
12
12
strokeLinecap,
13
13
strokeMiterlimit,
14
14
strokeDasharray,
15
- mixBlendMode
15
+ mixBlendMode,
16
+ shapeRendering
16
17
} = { } ) {
17
18
mark . fill = impliedString ( fill , "currentColor" ) ;
18
19
mark . fillOpacity = impliedNumber ( fillOpacity , 1 ) ;
@@ -24,6 +25,7 @@ export function Style(mark, {
24
25
mark . strokeMiterlimit = impliedNumber ( strokeMiterlimit , 4 ) ;
25
26
mark . strokeDasharray = string ( strokeDasharray ) ;
26
27
mark . mixBlendMode = impliedString ( mixBlendMode , "normal" ) ;
28
+ mark . shapeRendering = impliedString ( shapeRendering , "auto" ) ;
27
29
}
28
30
29
31
export function applyIndirectStyles ( selection , mark ) {
@@ -36,6 +38,7 @@ export function applyIndirectStyles(selection, mark) {
36
38
applyAttr ( selection , "stroke-linecap" , mark . strokeLinecap ) ;
37
39
applyAttr ( selection , "stroke-miterlimit" , mark . strokeMiterlimit ) ;
38
40
applyAttr ( selection , "stroke-dasharray" , mark . strokeDasharray ) ;
41
+ applyAttr ( selection , "shape-rendering" , mark . shapeRendering ) ;
39
42
}
40
43
41
44
export function applyDirectStyles ( selection , mark ) {
0 commit comments