Sha256: 1c8478c3d8072b80dac33bd9ab7445685c6e0d0661a51a90d07d0b51982f9d8e
Contents?: true
Size: 871 Bytes
Versions: 23
Compression:
Stored size: 871 Bytes
Contents
pv.SvgScene.bar = function(scenes) { var e = scenes.$g.firstChild; for (var i = 0; i < scenes.length; i++) { var s = scenes[i]; /* visible */ if (!s.visible) continue; var fill = s.fillStyle, stroke = s.strokeStyle; if (!fill.opacity && !stroke.opacity) continue; e = this.expect(e, "rect", { "shape-rendering": s.antialias ? null : "crispEdges", "pointer-events": s.events, "cursor": s.cursor, "x": s.left, "y": s.top, "width": Math.max(1E-10, s.width), "height": Math.max(1E-10, s.height), "fill": fill.color, "fill-opacity": fill.opacity || null, "stroke": stroke.color, "stroke-opacity": stroke.opacity || null, "stroke-width": stroke.opacity ? s.lineWidth / this.scale : null }); e = this.append(e, scenes, i); } return e; };
Version data entries
23 entries across 23 versions & 1 rubygems