Sha256: 317b0a90bf0124fa58ba77c0908bef18e8f55b847fe9aaf7a2bc52a0799989d9
Contents?: true
Size: 707 Bytes
Versions: 23
Compression:
Stored size: 707 Bytes
Contents
pv.SvgScene.rule = 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 stroke = s.strokeStyle; if (!stroke.opacity) continue; e = this.expect(e, "line", { "shape-rendering": s.antialias ? null : "crispEdges", "pointer-events": s.events, "cursor": s.cursor, "x1": s.left, "y1": s.top, "x2": s.left + s.width, "y2": s.top + s.height, "stroke": stroke.color, "stroke-opacity": stroke.opacity, "stroke-width": s.lineWidth / this.scale }); e = this.append(e, scenes, i); } return e; };
Version data entries
23 entries across 23 versions & 1 rubygems