dojox/drawing/annotations/BoxShadow (version 1.10)

Summary

Creates a box shadow under solid objects. Can change the shadow direction, color, size, and intensity. Can center the shadow and make it a Glow.

This is a pseudo shadow, created by duplicating the original stencil and increasing the line weight while reducing the opacity. Therefore it will not work with text. Also won't look very good if the Stencil has no fill or is transparent. Can't do knockouts or inner shadows. Currently can't do paths - while doable, it will most likely choke IE into certain death.

Usage

var foo = new BoxShadow(options);
dojox/drawing/annotations/BoxShadow
Parameter Type Description
options Object

Property Summary

Method Summary

Event Summary

Properties

Methods

arrowPoints()

Creates data used to draw arrow head.

Returns:Array
createForEllipse(o,size,mult,d,r,p,c)
Parameter Type Description
o undefined
size undefined
mult undefined
d undefined
r undefined
p undefined
c undefined
createForLine(o,size,mult,d,r,p,c)
Parameter Type Description
o undefined
size undefined
mult undefined
d undefined
r undefined
p undefined
c undefined
createForPath(o,size,mult,pts,r,p,c)
Parameter Type Description
o undefined
size undefined
mult undefined
pts undefined
r undefined
p undefined
c undefined
createForRect(o,size,mult,d,r,p,c)
Parameter Type Description
o undefined
size undefined
mult undefined
d undefined
r undefined
p undefined
c undefined
createForZArrow(o,size,mult,pts,r,p,c)
Parameter Type Description
o undefined
size undefined
mult undefined
pts undefined
r undefined
p undefined
c undefined
destroy()

Events

onRender()
onTransform()
Error in the documentation? Can’t find what you are looking for? Let us know!