ShapeBasedOverlay¶
Overview¶
Supertype for overlays that display colored shapes (updated every frame).
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class ShapeBasedOverlay¶
Constructor¶
new ShapeBasedOverlay( display : Display, rootNode : Node, name : string )¶
Instance Methods¶
addShape( shape : Shape, color : string, isOffset : boolean )¶
update()¶
addShapes()¶
dispose()¶
Releases references
Instance Properties¶
display : Display¶
(protected)
rootNode : Node¶
(protected)
svg : SVGElement¶
(protected)
domElement : SVGElement¶
Source Code¶
See the source for ShapeBasedOverlay.ts in the scenery repository.