chaco.overlays.layers.svg_range_selection_overlay module

class chaco.overlays.layers.svg_range_selection_overlay.SvgRangeSelectionOverlay(component, *args, **kw)

Bases: chaco.overlays.layers.status_layer.StatusLayer

This is a primitive range selection overlay which uses a SVG to define the overlay.

TODO: not inherit from StatusLayer, this was a convenience for a

quick prototype

TODO: use 2 svgs, one which defines the border and does not scale, and

the other which defines the fill.

overlay(component, gc, view_bounds=None, mode='normal')

Draws this component overlaid on another component.

Overrides AbstractOverlay.