Feature suggestion: rendering shadows
Closed this issue · 0 comments
Zt-freak commented
Support for rendering shadows for the pointer and gauge.
const opts = {
angle: 0,
lineWidth: 0.44,
radiusScale: 1,
pointer: {
length: 0.6,
strokeWidth: 0.035,
color: "#000000",
/* support for attributes like this so that a gauge can render a shadow */
shadowColor: "#000000",
shadowBlur: 6,
shadowOffsetX: 6,
shadowOffsetY: 6
},
limitMax: false,
limitMin: false,
colorStart: "#6FADCF",
colorStop: "#29ABE2",
strokeColor: "#E0E0E0",
generateGradient: true,
highDpiSupport: true,
/* possibly here too */
shadowColor: "#000000",
shadowBlur: 6,
shadowOffsetX: 6,
shadowOffsetY: 6
}