The default jqPlot shadow renderer, rendering shadows behind shapes.
$.jqplot. | The default jqPlot shadow renderer, rendering shadows behind shapes. |
Properties | |
angle | Angle of the shadow in degrees. |
offset | Pixel offset at the given shadow angle of each shadow stroke from the last stroke. |
alpha | alpha transparency of shadow stroke. |
lineWidth | width of the shadow line stroke. |
lineJoin | How line segments of the shadow are joined. |
lineCap | how ends of the shadow line are rendered. |
fill | whether to fill the shape. |
depth | how many times the shadow is stroked. |
isarc | wether the shadow is an arc or not. |
draw | draws an transparent black (i.e. |
Angle of the shadow in degrees.
this.angle = 45
Pixel offset at the given shadow angle of each shadow stroke from the last stroke.
this.offset = 1
alpha transparency of shadow stroke.
this.alpha = 0.07
width of the shadow line stroke.
this.lineWidth = 1.5
How line segments of the shadow are joined.
this.lineJoin = 'miter'
how ends of the shadow line are rendered.
this.lineCap = 'round'
whether to fill the shape.
this.fill = false
how many times the shadow is stroked.
this.depth = 3
wether the shadow is an arc or not.
this.isarc = false
draws an transparent black (i.e.
$.jqplot.ShadowRenderer.prototype.draw = function( ctx, points, options )