## org.autoplot.jythonsupport.ui.RectanglePainter

## RectanglePainter( java.awt.Color color )

## paintLayer

paintLayer( java.awt.Graphics g, int offs0, int offs1, java.awt.Shape bounds, javax.swing.text.JTextComponent c, javax.swing.text.View view ) → java.awt.Shape

Paints a portion of a highlight.

### Parameters

g - the graphics context
offs0 - the starting model offset >= 0
offs1 - the ending model offset >= offs1
bounds - the bounding box of the view, which is not necessarily the region to paint.
c - the editor
view - View painting for

### Returns:

region drawing occured in
[search for examples] [view on GitHub] [view on old javadoc] [view source]